is it true, that the current Saxon release 6.5.2 does not support the id()
function if the xml-document is based on a xml schema (xsd)? I had the
strange effect that the instant saxon 6.5.2 could not resolve the ID/IDREF
relationship when the document was based on a xsd, but I get the correct
output when using a aequivalent dtd. Is the full Saxon capable of parsing xsd?
From: Michael Kay <michael.h.kay@nt...> - 2002-04-17 09:39:25
> is it true, that the current Saxon release 6.5.2 does not
> support the id()
> function if the xml-document is based on a xml schema (xsd)?
The id() function works only on attributes that are notified by the XML
parser as being ID attributes. The XML parser that's built-in to Saxon has
no schema support, so it recognizes ID attributes only if they are declared
as such in the DTD. You may be able to find an XML parser that works with
Saxon and that recognizes ID attributes from the Schema - for example Xerces
might do so - but I haven't tried it, so I don't know.
Get latest updates about Open Source Projects, Conferences and News.