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 2001/12/06 02:37:47 UTC

DO NOT REPLY [Bug 5298] New: - Bug in parsing xml decl when it has white spaces preceding it in the document

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

Bug in parsing xml decl when it has white spaces preceding it in the document

           Summary: Bug in parsing xml decl when it has white spaces
                    preceding it in the document
           Product: Xerces2-J
           Version: 2.0.0 [beta]
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: karthik@infravio.com


if <?xml version="1.0" encoding="UTF-8"?> is declared in the XSD file, then the 
sax parser doesnt let me have spaces before it!
example:
    The following xml document throws the error that xml decl must be at the 
begining of the document.
   <?xml version="1.0" encoding="UTF-8"?>
<a>
  <b> hello </b>
</a>

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org