Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XML Parser should Ignore parsing of <!DOCTYPE > tag

518160Jun 14 2006
Hi all,

I have written an XML parser using PL/SQL mainly using dbms_xmldom and dbms_xmlparser. The parser is working fine when i give an ordinary xml file without any validation. But some incoming xml files contain the doctype tag as <!DOCTYPE MeasDataCollection SYSTEM "MeasDataCollection.dtd">. My parser is trying to parse this tag and is throwing error.

Can anyone please let me know how to ignore <!DOCTYPE > tag and <?xml-stylesheet> tag while parsing.

Thanks a lot
Shaji
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2006
Added on Jun 14 2006
0 comments
2,398 views