schema parsing errors

Matthias Radestock matthias at
Fri Nov 12 09:32:48 CET 2004

I was playing with CDuce's XML Schema support, loading the schema for 
the Systems Biology Markup Language Level 2 version 1:*checkout*/sbml/specifications/sbml-level-2/version-1/schema/sbml.xsd

Surprisingly, for such a complex schema, CDuce loaded it without any 
problems except for the following:

I got an error
This is caused by the following xsd:restriction:
   <xsd:restriction base="xsd:integer">
     <xsd:minInclusive value="0"/>
     <xsd:maxInclusive value="3"/>
Removing the minInclusive element fixed the problem.

I was wondering whether this might be easy to fix, given that CDuce has 
no trouble with the maxInclusive declaration, and that, from looking at 
the code, it appears that minInclusive is supported. Perhaps there's 
just a typo or omission somewhere?

When inspecting the generated types, I noticed that many contained
   <ns1:   FAKE ELT    {| |}>[  ]
What is the significance of these?



More information about the Cduce-users mailing list