XML Parsing without warning messages
pcs03872-tCEKLenjyJCf0DUV/[email protected] Tue, 22 Feb 2005 13:45:08 +0530 (IST)
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <[email protected]> |
Hi , I was trying to convert XML documents to SXML documents.(used SSAX library files for bigloo compiler). The parsing is being performed correctly on all valid XML documents. My doubt is , Can SSAX parse XML documents when DTD is give along with ? The warning messages similar to given below are shown when there is a reference to corresponsidng DTD in the XML document. Is is possible to consider th DTD , if available , while parsing a set of documents? If not, how can i turn of these warning and error messages during execution? stderr:- ------- Warning at position 282 (DOCTYPE DECL IndexTermsPage ../DTD/IndexTermsPage.dtd found and skipped) my input document contained these lines :- ---------------------------------------- <?xml version='1.0' encoding='ISO-8859-1' ?> <?xml-stylesheet href='../style/IndexTermsPage.xsl' type='text/xsl'?> <!-- XML-Page generated by PENELOPE. 1999 Araneus Group and University 'Roma Tre', Rome, ITALY --> <!DOCTYPE IndexTermsPage SYSTEM '../DTD/IndexTermsPage.dtd'> <IndexTermsPage> .......... ......... </IndexTermsPage> Thank you ------------------- Shinni ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click