Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-650

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-650
    Summary: DomBuilder looking for DTD files somethims after disabling the DTD 
checking
       Type: Bug

     Status: Closed
 Resolution: CANNOT REPRODUCE

    Project: Xerces-C++
 Components: 
             DOM
   Versions:
             2.1.0

   Assignee: 
   Reporter: Jossef

    Created: Thu, 3 Oct 2002 9:02 PM
    Updated: Tue, 19 Oct 2004 9:01 AM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
I'm using DOMbuilder to parse XML files without having the DTD related to it.
In a stabillity testing, where same XML file's content is parsed after 
performing resetDocumentPool & parseURI (3 seconds between each time). in about 
10% of the cases I received an exception with msg: An exception occurred! 
Type:RuntimeException, Message:The primary document entity could not be opened. 
Id=R:\EmdTesting\Type00\123457012_2002_10_03_23_53_51_1964_ACTIV.IRI.XML

In order to disable the DTD checkings, I've used:
   d_pDomParser->setFeature(XMLUni::fgDOMNamespaces, false);
    d_pDomParser->setFeature(XMLUni::fgXercesSchema, false);
    d_pDomParser->setFeature(XMLUni::fgXercesSchemaFullChecking, false);
    d_pDomParser->setFeature(XMLUni::fgDOMValidation, false);
    d_pDomParser->setFeature(XMLUni::fgXercesLoadExternalDTD, false);

But it seems that in those cases, it looks for the DTD anyway.
The wird thing is that its not consistent.

HELP!!!!!!!

Thanks,
Joe.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to