You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ovidiu Predescu <ov...@cup.hp.com> on 2001/08/21 10:19:43 UTC

Re: [C2 patch] Incorrect serialization to XML

Can you please post a unidiff patch? You can generate one with

cvs diff -u <your file>

Thanks,
Ovidiu

On Mon, 20 Aug 2001 21:57:47 +0200, Joerg Henne <j....@levigo.de> wrote:

> Hi,
> 
> the way I read the SAX specification, the qName (or raw name) of elements that
> is passed to the callback methods is of purely informal character and does not
> necessarily contain the full (raw) element name. However, C2's serialization
> to XML results in the qName being used to name the output elements. This is
> due to the missing or incomplete namespace support in the SerializerToXML from
> Xalan which is used.
> 
> AbstractTextSerializer already contains code to work around Xalan problems, so
> it could fix this problem as well, although fixing it comes at the cost of 2
> hashtable lookups and string concatenations per element. If you agree that
> this should be done, the following patch will do the job.
> 
> Joerg Henne

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org