How can I ignore DTD in an XML file

2005-01-26 Thread Xiaofan Zhou
Hi, All, Is there a feature that I can simple set to turn off the default behavior to resolve a DTD entity included in an XML file? The DTD is included in an XML using: I tried setValidationScheme(DOMParser::Val_Never), but it still try to find the DTD, which failed. I know I can impleme

[jira] Resolved: (XERCESC-413) XMLCh typedef should be conditional under MSVC 7

2005-01-26 Thread Alberto Massari (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-413?page=history ] Alberto Massari resolved XERCESC-413: - Assign To: (was: Xerces-C Developers Mailing List) Resolution: Fixed Fix is in CVS. Please verify. Alberto > XMLCh typedef should

RE: [jira] Resolved: (XERCESC-490) Memory leak when setCreateEntityReferenceNodes is true

2005-01-26 Thread Alberto Massari
Hi Tony, you can get a TAR file of the CVS repository at http://cvs.apache.org/snapshots/xml-xerces/. There is no pre-built package for snapshots, so you will have to build it from the sources. Thanks, Alberto At 09.33 26/01/2005 -0500, Wuebben, Anthony E. (LNG-DAY) wrote: Alberto: How can we ge

RE: [jira] Resolved: (XERCESC-490) Memory leak when setCreateEnti tyReferenceNodes is true

2005-01-26 Thread Wuebben, Anthony E. (LNG-DAY)
Alberto: How can we get to the nightly build to test this fix. Thanks Tony Wuebben -Original Message- From: Alberto Massari (JIRA) [mailto:[EMAIL PROTECTED] Sent: Friday, January 14, 2005 5:42 AM To: [EMAIL PROTECTED] Subject: [jira] Resolved: (XERCESC-490) Memory leak when setCreateEnt

RE: XML Document parsing.

2005-01-26 Thread Jesse Pelton
Title: Nachricht You'll need to set up your parser to validate, which means you need something to validate against (a DTD or a schema). You can then use the parser's setIncludeIgnorableWhitespace() method to tell the parser to omit ignorable whitespace nodes from the DOM. (Be sure to read the

AW: XML Document parsing.

2005-01-26 Thread Sami Islam
Title: Nachricht Hello, I edited the .xml file using an editor and got rid of all the whitespace & newline chars. Now I have the correct values.   How can I tell the parser that I don't want whitespaces and newlines between my tags?   Thanks, Sami -Ursprüngliche Nachricht-Von:

[jira] Resolved: (XERCESC-1323) CLONE -XMemory related warning

2005-01-26 Thread Alberto Massari (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-1323?page=history ] Alberto Massari resolved XERCESC-1323: -- Resolution: Fixed Robert, I have committed the changes to XMemory that I explained in the mail to xerces-c-dev. It removes the warning a

RE: XML Document parsing.

2005-01-26 Thread Jesse Pelton
Title: XML Document parsing. The text may be whitespace, often used for formatting for human readability. Unless you tell the parser what whitespace is significant (via a DTD, for instance), it must retain it all.         text     is not the same as   text   The former has a newline and s

XML Document parsing.

2005-01-26 Thread Sami Islam
Title: XML Document parsing. Hello, When I parse an Xerces XMLDoc using Pathan library I receive 2 nodes for each child node. 1) Text Node = "#text", even when there is no text for the element. 2) Element Node. And funnily I get the child value only if I do a (child_node)->getNodeValue()