Opened 11 years ago

Closed 11 years ago

#204 closed defect (fixed)

SasView no longer writing CanSAS XML files compliant with the schema

Reported by: smk78 Owned by: King
Priority: critical Milestone: SasView 3.0.0
Component: SasView Keywords: CanSAS, XML
Cc: Work Package:

Description

CanSAS 1D XML files written from SasView? (testing v3.0.0) have the
header:

<?xml version="1.0" ?>
<SASroot version="1.1" xmlns="urn:cansas1d:1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:cansas1d:1.1 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd">

This is not compliant with the v1.1 schema and needs to be changed to,
for example:

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

xmlns="urn:cansas1d:1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cansas1d:1.1 http://www.cansas.org/formats/1.1/cansas1d.xsd"

to reflect the reorganisation of web resources.

Change History (4)

comment:1 Changed 11 years ago by krzywon

  • Owner set to krzywon
  • Status changed from new to accepted

comment:2 Changed 11 years ago by butler

  • Owner changed from krzywon to King
  • Status changed from accepted to assigned

comment:3 Changed 11 years ago by butler

Fix was made by Krzywon — King now to test

comment:4 Changed 11 years ago by krzywon

  • Resolution set to fixed
  • Status changed from assigned to closed

Steve checked the latest update and the saved data for saving not only works with regular data but fits as well. The resulting files can then be loaded back into SasVIEW for further analysis later.

Note: See TracTickets for help on using tickets.