[jdom-interest] Newbie: Schema validation of a document being built via JDOM
Warner R. Onstine
warner at warneronstine.com
Thu Mar 22 13:30:08 PST 2001
I would love to see something like this for both DTD and Schema. If not an
integrated part it would be nice to see something in jdom/contrib for this.
----- Original Message -----
From: "Kevin Baynes" <kbaynes at renex.com>
To: "Jdom-Interest" <jdom-interest at jdom.org>
Sent: Thursday, March 22, 2001 8:05 AM
Subject: FW: [jdom-interest] Newbie: Schema validation of a document being
built via JDOM
> I'm just forwarding this to the group.
> -----Original Message-----
> From: Carsten Karkola [mailto:karkola at rcs.urz.tu-dresden.de]
> Sent: Thursday, March 22, 2001 2:31 AM
> To: Kevin Baynes
> Subject: RE: [jdom-interest] Newbie: Schema validation of a document
> being built via JDOM
> Maybe it could also be interesting to get all possible childs of an xml-
> node using the schema information (like psgml in emacs it does with
> a dtd).
> My scenario would be:
> I can ask an List element.getValidContent() and i can compare the
> type/name of the element/attribute, which I try to insert in my
> document against the result of the above method.
> I think this is also helpfull in a GUI. I can fill a popupmenu with the
> reuslts build on the schema information and can avoid the insertion
> of wrong elements.
> In an second part I have to validate the document to find out missing
> elements/attributes via Document.validate().
> regards, carsten
> == Dipl.-Ing. Carsten Karkola
> == TU Dresden - Dez.4; SG 4.2
> == Tel.: +49 351 463 7817
> == Fax: +49 351 463 7179
> == e-mail: karkola at rcs.urz.tu-dresden.de
> To control your jdom-interest membership:
More information about the jdom-interest