[jdom-interest] grammar not found

Dushyandan Kanagaratnam dushyk at securepay.com.au
Mon Jul 2 19:04:01 PDT 2001


Hi all,

I am a Java developer who is new to XML. I use Java and XML by Brett
McLaughlin as my guide :) . I constructed a simple XML and DTD to test with
JDOM.

XML:

<?xml version="1.0"?>

<!DOCTYPE dvr:DataValidationRules SYSTEM "ValidationRules.dtd">

<dvr:DataValidationRules xmlns:dvr="http://www.securepay.com.au">
JDOM Test
</dvr:DataValidationRules>

DTD:

<!ELEMENT dvr:DataValidationRules (#PCDATA)>

when the document is parsed I am getting http://www.securepay.com.au grammar
not found message. Can somebody explain this message to me.

Regards,

-Dushy-




More information about the jdom-interest mailing list