|
External DTD: msg#00096text.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 Like so . . . 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: Build problem on HPUX-11, Itanium processor: 00096, Ivan Pechorin |
|---|---|
| Next by Date: | Re: External DTD: 00096, Alberto Massari |
| Previous by Thread: | External DTDi: 00096, Jacinto, Alex |
| Next by Thread: | Re: External DTD: 00096, Alberto Massari |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |