i've already had a look at the xerces 2.6.2 sources as well as at jdk1.5 api but i've not found any of methods i.e geAllowedChilds or getAllowedNextSiblings
which are mentioned in the interface org.w3c.dom.validation.
One way that I thought about was to parse and analyse xsd file(s) but that's quite laborious and I assume there has to be some easier way how to do it.
For instance when the xerces validate the xml file against a xsd schema(s) it must know i.e which siblings or childs can follow a node and which can't.
Jakub
[EMAIL PROTECTED] wrote:
Hello Jakub,
I think, that jdk1.5 does contain the implementation of that package inside JAXP. Maybe You will find some relevant classes in the xerces package version 2.6.2.
Kind regards,
Csaba Szucs
*Jakub Kahovec <[EMAIL PROTECTED]>*
12/08/2004 11:33 AM Please respond to xerces-j-user
To: [EMAIL PROTECTED]
cc: (bcc: Csaba Szucs/ve/eu/au/cag)
Subject: How to get allow childs
Hi,
does exist at the moment some easy way how to find out which child nodes
or next siblings
are allowed (from xsd definition) to add to/remove from node ?
I've realized that these information are provided by org.w3c.doim.validation interface, but I've not
found any open-source implementation of it.
Thanks for any advise.
Jakub
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]