Hi,
I'm using Xerces v2.3.0 on Win2K. My application uses
a XercesDOMParser with DTD validation turned on to
parse and validate VXML documents.
While I require DTD validation, I wish the parser to
ignore instances of a certain element, specifically
<metadata>, and any of its children. The <metadata>
element is declared in the DTD, but I must allow the
document to specify any children inside it - which
obviously isn't normally possible with a
DTD-validating parser.
Has anybody got any suggestions how to go about this?
I've checked the docs and mail archives without much
success. Would I have to implement my own scanner
similar to IGXMLScanner, which in scanStartTag(),
checks the element name, and only calls
fElemStack.addChild() if its not <metadata>?
Please note that I don't wish do go down the schema
route, or turn off DTD validation.
Any suggestions welcome - apologies if this is a dumb
re-post!
rgds
Andrew Fuller
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save �80
http://btyahoo.yahoo.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]