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

Xerces SAX Parser fails

           Summary: Xerces SAX Parser fails
           Product: Xerces2-J
           Version: 2.0.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I include Namespace in my XML document SAX parser fails to validate the 
document. Any Idea whats the problem or is this limitation of Xerces PArser ?. 

**Parsing Error**
 Line: 2
 URI: null
 Message: Element type "items" must be declared.
Error is org.xml.sax.SAXException: Error Encountered

XML Document. 
------------

<?xml version="1.0"?>
<items xmlns:oa="http://www.openapplications.org/oagis";>>
     <inventory opcode="U">
         <item_type>S</item_type>
         <sku_no>106</sku_no>
         <description>Apple</description>
         <dept_no>200</dept_no>
         <class_no>856</class_no>
         <line_no>99</line_no>
         <report_factor>1</report_factor>
         <lcu_qty>1</lcu_qty>
         <report_um>each</report_um>
         <sell_um>each</sell_um>
      </inventory>
   </body>
</items>

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

Reply via email to