Re: XML DECLARATION

2003-11-11 Thread Mark Van Orman
Hi Gareth, I am serializing the document: DOMWriter * theSerializer = ((DOMImplementationLS*)m_impl)->createDOMWriter(); DOMErrorHandler * myErrorHandler = new DOMPrintErrorHandler(); theSerializer->setErrorHandler(myErrorHandler); XMLFormatTar

DO NOT REPLY [Bug 24634] New: - DOMWriter fails to write SYSTEM identifier

2003-11-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: XML DECLARATION

2003-11-11 Thread CKing
I've seen the same. Try it with a simple test.xml file: the xml file only contains "". When you pass the file to the DOMPrint sample, there's always the XML Declaration added: Me too, I have wondered if there is a way to avoid this, and/or to write an XML Declaration without the "standalone"

Re: XML DECLARATION

2003-11-11 Thread Gareth Reakes
Hi, when you say it keeps adding it, how do you know? How are you serializing the document? Gareth On Mon, 10 Nov 2003, Mark Van Orman wrote: > MessageHi, > > I am trying to create a document without the xml declaration. I.e version="1.0" encoding="ISO-8859-1"?> > Is that d

RE: Clone a DOM subtree to the root of a new DOMDocument efficiently ?

2003-11-11 Thread Chris Cheung
Dear Erik, That exactly solved my problem. Thank you very much! On Tue, 11 Nov 2003, Erik Rydgren wrote: > Well I have no problems replacing a document root with the 2.2.0 > codebase. I use the following code. The code is pure DOM so no extra > fancy stuff, don't mind the wrapper classes. > >

RE: Clone a DOM subtree to the root of a new DOMDocument efficiently ?

2003-11-11 Thread Erik Rydgren
Well I have no problems replacing a document root with the 2.2.0 codebase. I use the following code. The code is pure DOM so no extra fancy stuff, don't mind the wrapper classes. cDocument* poDoc1 = GetDOMImplementation().CreateDocument("", "test", NULL); cDocument* poDoc2 = GetDOMImplementation()

[email protected]

2003-11-11 Thread Antonio David López Cordero
I has had the same problem (some linker symbol missings) using the BCB6, but I solved them simply adding "these files" to the project.   B regards.   - Original Message - From: Glenn Puchtel To: [EMAIL PROTECTED] Sent: Monday, November 10, 2003 9:08 PM Subject