[jdom-interest] General Schema Error: Grammar with uri

Makhlin, Boris BMakhlin at temgweb.com
Thu Aug 30 11:25:09 PDT 2001

I am trying to parse xml below from http://www.w3.org/TR/xmlschema-0/#NS
<?xml version="1.0"?><apo:purchaseOrder
xmlns:apo="http://www.example.com/PO1" orderDate="1999-10-20"> <shipTo
country="US"> <name>Alice Smith</name> <street>123 Maple Street</street>
<!-- etc. --> </shipTo> <billTo country="US"> <name>Robert Smith</name>
<street>8 Oak Avenue</street> <!-- etc. --> </billTo> <apo:comment>Hurry, my
lawn is going wild!</apo:comment> <!-- etc. --></apo:purchaseOrder>

At parse time I am getting following error :

org.jdom.JDOMException: Error on line 1 of document
oc/test.xml: General Schema Error: Grammar with uri :
 , can not found.

Please, point out my mistake.


More information about the jdom-interest mailing list