Hi there,
We just moved an application from Xerces 2.4 to Xerces 2.6, and on a
file like:
<?xml version="1.0"?>
<?txt:Test This is a test?>
<test/>
It now gives the error:
:::::2:11:A colon is not allowed in the name 'txt:Test' when namespaces
are enabled.
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
a:361)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
a:314)
at
org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1378)
at org.apache.xerces.impl.XMLScanner.scanPIData(XMLScanner.java:670)
It seems that code was added specifically (in Xerces 2.5) to look for
this colon in pi target-names. I looked at some specs (mostly
http://www.w3.org/TR/REC-xml-names/), but could not find any reference
that a colon is an illegal character in pi target names? Does anybody
here know why this is illegal?
Kind regards,
--Sander.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]