Opened 11 years ago

Closed 11 years ago

#187 closed defect (fixed)

Cannot load SASXML v1.1 data files

Reported by: smk78 Owned by:
Priority: blocker Milestone: SasView 2.2.1
Component: SasView Keywords:
Cc: Work Package:


SasView? will not load CanSAS SASXML v1.1 data files; ie, those with the header:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="cansasxml-html.xsl" ?>
<SASroot version="1.1"


An immediate problem is this means that SASXML data written from Mantid 2.5.x can no longer be read by SasView?!

Looking at /CorFuncPerspective?/sansdataloader/src/sans/dataloader/readers/ the reason may be two-fold:

1) the loader appears to check for the presence of the namespace "cansas1d/1.0"

2) the class reader: includes the line version = '1.0'

Change History (1)

comment:1 Changed 11 years ago by butler

  • Milestone set to SasView 2.2.1
  • Resolution set to fixed
  • Status changed from new to closed

Anders modified cansas reader to accept 1.1 as well as 1.0. Jeff fixed the last problem with that code change. Steve King now says it works. PDB

Note: See TracTickets for help on using tickets.