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

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


Hi,
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
file:/D:/boris/resin-1.2.3/d
oc/test.xml: General Schema Error: Grammar with uri :
http://www.example.com/PO1
 , can not found.

Please, point out my mistake.

Thanks,







More information about the jdom-interest mailing list