/Jacob Kjome/:

But Xerces gives me the following error in parsing...

[xmlc] D:\myclasses\Repository\Enhydra\tomcatXHTML\res\page\xhtmlbasic.xhtml:26: Error: A colon is not allowed in the name 'IS10744:arch' when namespaces are enabled. [xmlc] Error: Parse of "D:\myclasses\Repository\Enhydra\tomcatXHTML\res\page\xhtmlbasic.xhtml" failed: org.xml.sax.SAXParseException: A colon is not allowed in the name 'IS10744:arch' when namespaces are enabled.

Here's the part of the DTD that it appears to be bombing on (part of the flat version of the DTD [1], referenced using a catalog)...

<?IS10744:arch xhtml
[...]
?>

The w3c wrote this, not me. Is Xerces correct in telling me that the W3C made a mistake in the DTD or is Xerces getting something wrong?

As far as I know <http://www.w3.org/TR/xml-names/#dt-nwf>:

in a namespace-well-formed document:

* No entity names, processing instruction targets, or notation names contain any colons.

So Xerces is correct. You could use no namespace processing if you don't necessary need it.

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to