You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2004/01/17 17:15:43 UTC
DO NOT REPLY [Bug 26216] New: -
Incorrect error message for PI target of the form xml:NCName
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26216>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26216
Incorrect error message for PI target of the form xml:NCName
Summary: Incorrect error message for PI target of the form
xml:NCName
Product: Xerces2-J
Version: 2.6.0
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: Other
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: zongaro@ca.ibm.com
The following document does not conform to the Namespaces in XML
Recommendation, because there is a colon in the target of the processing
instruction.
<?xml:stylesheet href="file:///e:/henry/style.xsl"?>
<doc/>
However, the error reported is the following:
The processing instruction target matching "[xX][mM][lL]" is not allowed.
That message should only apply to a PI target whose name is precisely "xml"
(ignoring case) - not those that begin with those letters. The message is
confusing.
On the other hand, Xerces-J reports the right error for the following document
<?abc:stylesheet href="file:///e:/henry/style.xsl"?>
<doc/>
A colon is not allowed in the name 'abc:stylesheet' when namespaces are
enabled.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org