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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to