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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to