[Xml-compile] XML::Compile::Schema validation on xs:ID has problem
Mark Overmeer
mark at overmeer.net
Fri May 16 12:24:03 BST 2008
Daniel,
You found what I needed to know - and didn't find (yet) because serious
lack of time. It is clear that the uniqueness test MUST==SHALL be
done when the validate option is on (the default in compile()), and
it will always die in that case.
Thank you very much.
* Daniel Ruoso (daniel at ruoso.com) [080516 10:43]:
> [xml spec sect. 5.1]
> ... For example, several requirements for uniqueness within
> the document may not be met, including more than one element with the
> same id, ...
> [xml spec sect. 3.3.1]
> Values of type ID MUST match the Name production. A name MUST NOT
> appear more than once in an XML document as a value of this type;
> i.e., ID values MUST uniquely identify the elements which bear them.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list