|
Thanks for the suggestion Brion.
This suggestion will work, but I don’t really want to “modify” the original XML stream Just kinda surprised that there’s no API in xerces to specify a DTD that I want to validate against
thx, Henry
-----Original Message-----
Hi Henry,
The way I've handled this in the past is to peek at the incoming stream before the parser ever gets a look at it, and insert a DOCTYPE element in the front of the stream. Note: this may require removing or saving the XML processing instruction and/or any comments that appear before the document element if those items are important to you.
Cheers! Brion
|
- Validating against a DTD Henry Chan
- RE: Validating against a DTD Swanson, Brion
- RE: Validating against a DTD Henry Chan
- RE: Validating against a DTD Swanson, Brion
- RE: Validating against a DTD sandygao
- RE: Validating against a DTD Henry Chan
- Parsing an XML schema Vikram Rajan
