[jdom-interest] JDom&DTD

Grzegorz Kaczor grzegorz.kaczor at gmail.com
Mon Oct 1 09:22:02 PDT 2007


Hi,

Please see here: http://www.topxml.com/tutorials/main.asp?id=jdom&page=17.

Regards,
Grzegorz

2007/10/1, NP <nicola.padovano at gmail.com>:
>
> Hi all!
> I've written a XML database, but now i have the need to validate it. For
> example this XML must have one tag (and only one) called <name>. So i
> can write a dtd grammar to do this work.
> But my necessity is that when i parse the xml file (with jdom's -better,
> sax's- functions, like SAXBuilder.build) with duplicate TAG <name>,
> there is an exception that alerts this situation.
>
> How I can resolve this problem?
> (My fear is to write a by hand (and raw) function that works like i
> want...)
>
> Thanks!
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
>



-- 
"Choć tyle wiemy własnym doświadczeniem:
W nas jest Raj, Piekło - i do obu - szlaki."
J.K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20071001/1b81a222/attachment.htm


More information about the jdom-interest mailing list