[jdom-interest] RE: validation

Jason Hunter jhunter at collab.net
Fri Apr 13 10:28:42 PDT 2001


There's currently no way to do in-memory validation, although it's a
feature I'd like to see someone step up to work on (see the latest
TODO).  FWIW, you can't do it in DOM either.  What you have to do
currently is reparse the file with validation turned on and the parser
will check validity.

-jh-

David McSparran wrote:
> 
> hey everybody,
> 
> Ihave designed a program which outputs an xml doc. using  a SAX builder and
> jdom.  I need to know how to validate this doc against a DTD and cannot find
> any examples,  anyone any ideas how to incorparate these into my
> program....at the minute i have no validation.
> 
> Tanks in advance
> 
> David
> 
> *********************************************************************************
> 
> Privileged/Confidential Information may be contained in this message.  If you are not the recipient
> addressee indicated in this message you may not copy or deliver this message to anyone.  In such
> case, you should destroy this message and notify us immediately.  If you or your employer do not
> consent to internet email messages of this kind, please advise us immediately.  Opinions, conclusions
> and other information expressed in this message are not given or endorsed by VISION Consulting
> unless otherwise indicated by a sanctioned representative independent of this message.
> 
> *********************************************************************************
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list