[jira] Commented: (XERCESC-954) Identity constraint validation failure

2004-07-27 Thread xerces-c-dev
The following comment has been added to this issue: Author: Jens M. Felderhoff Created: Tue, 27 Jul 2004 11:58 PM Body: This bug persists for Xerces-CX 2.5.0. Additional relevant platforms: Linux, Cygwin. - View t

Blank lines introduced before CDATA sections on DOM write

2004-07-27 Thread T MacAdam
Hi, I'm a bit of a newbie to Xerces (and XML for that matter), but I've searched high and low for an answer to my problem: basically, I've downloaded the latest (2.5.0) version for Windows and I'm noticing that Xerces is inserting blank lines into my XML file just above each CDATA section on outpu

RE: XML Header v2.4

2004-07-27 Thread Adam Heinz
The m_pDoc member is of type DOMDocument*. Take a look at the API Documentation (http://xml.apache.org/xerces-c/apiDocs/index.html) and check out the classes I use below to create a new XML document. /// /// @return Root element of the new document on success; otherwise NULL. DOMElement* XSLSer

[jira] Commented: (XERCESC-1162) base class warning in SAXException.hpp copy constructor

2004-07-27 Thread xerces-c-dev
The following comment has been added to this issue: Author: Marissa Borrego Created: Tue, 27 Jul 2004 12:42 PM Body: FYI, I made a similiar change to XMLPScanToken.hpp, on line 180: inline XMLPScanToken::XMLPScanToken(const XMLPScanToken& toCopy) : XMemory(), fScannerId(

Re: On references to DOMElements

2004-07-27 Thread Markus
That works! Thanks! markus > Maybe you are looking for one of this: > void myFunc(DOMElement *& e1, DOMElement *& e2) { > e1 = doc->doSomethingThatReturnsPointerToElement(); > e2 = doc->doSomethingElseThatReturnsPointerToElement(); > } ---

XML Header v2.4

2004-07-27 Thread Baccar MEDDEB
Hi; I'd like to export a file to xml format, I have used the following call to write the file header (with xerces 1.7): DOM_XMLDecl xmlDecl = doc.createXMLDecl( "1.0", format.GrabCString(), "yes" ); doc.appendChild( xmlDecl ); How can I did the equivalent with xerces 2.4

[jira] Closed: (XERCESC-1245) Memory Leak on Schema Validation Failure

2004-07-27 Thread xerces-c-dev
Message: The following issue has been closed. - View the issue: http://issues.apache.org/jira/browse/XERCESC-1245 Here is an overview of the issue: -

Re: On references to DOMElements

2004-07-27 Thread Vitaly Prapirny
Hi, Markus Harju wrote: void myFunc(DOMElement& e1, DOMElement& e2) { e1 = doc->doSomethingThatReturnsElement(); // compiler error e2 = *(doc->doSomethingThatReturnsElement());//compiler error here too } Maybe you are looking for one of this: void myFunc(DOMElement *& e1, DOMElement

On references to DOMElements

2004-07-27 Thread Markus Harju
Hello, as some of you may know I'm taking an app from xerces 1.7.0 towards 2.5.0. In the past one could have a function receiving a reference to a DOMElement and modify it like this (with underscores in 1.7.0) void myFunc(DOMElement& e1, DOMElement& e2) { e1 = doc.doSomethingThatReturnsEl