[jdom-interest] a question about validation

Jason Hunter jhunter at acm.org
Tue Apr 2 12:34:22 PST 2002


Right, there's no way to validate an XML doc as it's being created.  No
API does this, as far as I'm aware.

-jh-

Jamal Najmi wrote:
> 
> Does that also mean there is no way to validate an XML
> document as it is being created from scratch using
> JDOM API?  If answer is no then our only bet is to
> create the XML and then validate it against the XML
> Schema using JDOM and not necessarily parse it.
> 
> This leads to my next question, is it possible to
> validate an XML and not parse it using JDOM?
> 
> Thanks
> 
> Jamal
> 
> --- Jason Hunter <jhunter at acm.org> wrote:
> > Not currently, although I found a volunteer at
> > JavaOne who's interested
> > in working on that!
> >
> > -jh-
> >
> > "Gu Xueying (Shinnie Gu)" wrote:
> > >
> > > hi,
> > > I have a question about validation.
> > > I use JDOM and when I have got a document by
> > parser and have made some
> > > changes to the jdom tree(document)
> > > then I want to know whether the document which has
> > been changed is valid
> > > according to DTD.
> > > Is there any method in JDOM to do that validation
> > except parsing the
> > > document again?
> > > Any help is appreciated.
> > >
> > > Thanks
> > > Shinnie
> > >  58305001 - 8701
> > >
> > > _______________________________________________
> > > To control your jdom-interest membership:
> > >
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> > _______________________________________________
> > To control your jdom-interest membership:
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://http://taxes.yahoo.com/



More information about the jdom-interest mailing list