[cduce-users] XML schema support
Alain.Frisch at inria.fr
Tue May 31 16:25:18 CEST 2005
yjc01 at doc.ic.ac.uk wrote:
> Under the feature and desgin page on the website of cduce.org, it
> says that XML Schema is partially supported. What features or types
> of XML schema does CDuce not support?
Key constraints, redefine, some facets (patterns), substitution
groups, automatic substitution, and a few other things.
> And how does CDuce deal with
> date type? What if you want compare two elements with date type from
> loading an XML file (values are treated as strings when loaded in to
If you don't validate with an XML Schema, you have pure strings,
and you need to implement the comparaison yourself. With an XML
Schema, you get structured values (records), and you also have
to write the comparaison yourself, but it's much easier.
More information about the Cduce-users