You mean there is no way to parse a DTD with Xerces?
Can I hope to reuse internal stuff done when XML is validated against DTD?
Thanks. Sylvain.
At 10:00 10/11/2004 +0000, you wrote:
Hi,
What you want is DOM Level 3 validation. Its not on our radar to implement at the moment, and you are correct in thinking that it is not simple. If you take a look at Pathan 2, there is some code that navigates around the grammar - you will be able to get most of the information from there. Does this have to be with Xerces c? A friend of mine implemented the majority of it on top of Xerces J.
Gareth
Sylvain Duval wrote:
Hi all,
My problem is very simple but I don't see an easy implementation to solve it...
I would like to create a DOMDocument and validate it against a DTD during its creation even
if the DOM tree is not completed.
For instance when I add a child to a Node, I would like to know if it's authorized by the DTD...
or better to know which kind of node I can add to my incomplete Dom tree.
Any help or ideas are welcomed. Thanks.
Sylvain.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com
--------------------------------------------------------------------- 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]