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=7458>.
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=7458

Schema validator does not automatically associate the xml prefix to the 
"http://www.w3.org/XML/1998/namespace"; URI

           Summary: Schema validator does not automatically associate the
                    xml prefix to the "http://www.w3.org/XML/1998/namespace";
                    URI
           Product: Xerces-C++
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The schema validator uses TraverseSchema::resolvePrefixToURI to map a prefix 
into an URI, that in turns uses the NamespaceScope::getNamespaceForPrefix 
method. This does not handle the special case when the prefix is "xml", so, if 
an XMLSchema file uses the xml:lang attribute but does not explicitly add the 
xmlns:xml="http://www.w3.org/XML/1998/namespace"; declaration, the validation 
will fail.

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

Reply via email to