xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@vern.chem.tu-berlin.de>
Subject Re: Error in Java XML program
Date Wed, 03 Apr 2002 13:47:20 GMT


On Wed, 3 Apr 2002, Payal Dutt wrote:

> Hi,
>      I had coded a Java based XML application that
> uses SAX parser and reads XML document and extracts
> data and stores in a MS Access database and retrieves
> data from the database and converts to XML document.It
> was working fine for 2 months till today.Today when I
> execute the program it gives me error.I haven't
> changed a thing.Am also using a validating parser
> against a DTD.PLEASE HELP ME ASAP as am in urgent
> need.Following is the error I got.
> ALso I've enclosed the DTD and sample XML document
> that I send as parameter.
>
> Line=3: Element "OPERATIONS" does not allow "INSERT"
> Line=3: Element "OPERATIONS" does not allow "DELETE"

> <!ELEMENT OPERATIONS
  (SELECT,SELECTRET,INSERT,UPDATE,DELETE,CREATE,DROP,SORT,DATABASE)*>


Perhaps you mean
<!ELEMENT OPERATIONS
  (SELECT|SELECTRET|INSERT|UPDATE|DELETE|CREATE|DROP|SORT|DATABASE)*>

I think general@xml.apache.org is not the right place for those things.
Try the newsgroup comp.text.xml. ;-)
y


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message