|
External DTD: msg#00064text.xml.xerces-c.user
Hello, I am trying to avoid the loading of external DTD. According to the FAQ, I only need to: 1. Set my validation scheme to never 2. Set load external DTD to false parser->setValidationScheme (XercesDOMParser::Val_Never); parser->setLoadExternalDTD (false); However, my parser still spit out an XMLPlatformException, a fatal error with message: "Could not close the file" I'm using 2.7 and here is a sample of xml file: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE NewsML SYSTEM "../DTD/NewsMLv1.0.dtd" [<!ENTITY % NskBasicText.dtd SYSTEM "../DTD/NskBasicText.dtd"> %NskBasicText.dtd;]> <NewsML> ... </NewsML> I do not have the mentioned DTD files in my local computer. Thanks in advance and happy holidays. Alex |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Re: Was it something I said? (was: proper way to use Xerces for what I'm trying to do): 00064, Will Sappington |
|---|---|
| Next by Date: | How do I load str into DOM: 00064, Nick Warrington |
| Previous by Thread: | NetAccessorException on http "Moved permanently"i: 00064, Michael Weitzel |
| Next by Thread: | External DTD: 00064, Jacinto, Alex |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |