cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@vern.chem.tu-berlin.de>
Subject Re: XMLDBTransformer - UPDATE and the missing namespace
Date Fri, 01 Mar 2002 10:20:27 GMT


On Fri, 1 Mar 2002, Christian Zoffoli wrote:

>
> I have found a problem on the xupdate document submitted by
> XMLDBTransformer to the XUpdateQueryService, it seems that the namespace
> xmlns:xu="http://www.xmldb.org/xupdate" was erased by the original
> document.
>
> Why ??
>
> ...after reading the bug pointed by Vadim Gritsenko at the beginning of
> the code I substituted Xalan with other processors (saxon, xt) ...but
> the result was the same. Any hints ?
>

> > I found that the problem with xupdate is due to xalan ...it
> > erases a part of the submitted document (the namespace)
> >
> > <xu:modifications version="1.0"
> >        xmlns:xu="http://www.xmldb.org/xupdate\>
> >  <xu:update select="/users/user[@id = '1']/email">pippo</xu:update>
> > </xu:modifications>
> >
> > became
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> >        <xu:modifications version="1.0">
> >                <xu:update select="/users/user[@id =
> >  '1']/email">pippo</xu:update>
> >        </xu:modifications>
> >
> > and so it doesn't work.

Thank you first.

Why use the transformer not the org.apache.xml.serialize.XMLSerializer
instead?

Should I rewrite the transformer, or will be there a solution in the next
time?

Thank you, Stephan Michels.


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


Mime
View raw message