qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] Namespace definition in Output data.


From: Per Bothner
Subject: Re: [Qexo-general] Namespace definition in Output data.
Date: Sat, 09 Nov 2002 11:33:09 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016

Suraj Kumar wrote:

The problem with above output is that the tag is missing namespace declaration. Please let me know on how to add name space declaration to the resulting node.

Qexo's namespace support is incomplete.  It handles namespaces when
reading using the document function, and matches QNames uses namespaces.
However "namespace elements" are not properly stored in documents.
Firthermore, "serialization" back into XML text is not yet specified
in the XQuery docments, and has not been implemented.

Assuming, the needed namespaces are fixed, it might work to manually
include the namespace declarations (which Qexo current treats as
plain attributes):

<query xmlns:zb="xxx">...</query>

Alernatively, you could try using some encoding which could be fixed
by a namespace-aware prost-processor.

Fixing namespace support is important, but it's just me working on it,
and I have to do other things to pay the bills.  Maybe after the next
vesions of the specifications are released I'll concentrate on fixing
the namespace support.
--
        --Per Bothner
address@hidden   http://www.bothner.com/per/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]