Again are there any plans a proper implementation of NormalizeDocument
would be in xerces code in the recent future. I was thinking xerces 2.2
towards the end of the year.
Thanks
Kiran
-----Original Message-----
From: Gareth Reakes
To: [EMAIL PROTECTED]
Sent: 11/5/02 9:00 AM
Subject: Re: serializing a DOMDocument with namespaces
Hi,
you need to use functionality that has not yet been implemented.
The DOMWriter should sort out namespaces for you. There is also a method
called NormalizeDocument on Node that will do this (again not
implemented). I believe I have some quite horrible code lying around
somewhere that sorts out namespace issues. It would only work with the
old
model, but it should not be to hard to change. Give me a shout if you
want
it and Ill have a look.
cheers
Gareth
On Tue, 5 Nov 2002, Philippe HAUTION wrote:
> Hello,
>
> We are trying to serialize an in-memory DOMDocument with a DOMWriter
> into a MemBufFormatTarget (Xerces 2.1.0).
> This used to work fine for the tests, when we didn't use namespaces,
but
> now we do and the resulting string can't be parsed again since the
> writer doesn't generate the "xmlns" attribute for the root element.
>
> Is there a way to correct this behaviour ?
>
> Regards,
>
>
--
Gareth Reakes, Head of Product Development
DecisionSoft Ltd. http://www.decisionsoft.com
Office: +44 (0) 1865 203192
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]