Namespaces NS1, NS2, NS3 generated

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Namespaces NS1, NS2, NS3 generated


I'm using eXist 20050805 inside cocoon.

I use a simple xml file
<?xml version="1.0"?>
  <bar bar="bar"/>
  <foo foo="foo"/>

I generate a dom from this file with a
org.apache.excalibur.xml.dom.DOMParser. Serialization of this dom is
hopefully identical to the file.

I pass this dom as a 'document' parameter to this simple xquery script


When i execute the script and get the DOM back with a


and serialize it, things look quite strange

<?xml version="1.0"?>
<foo xmlns="">
  <bar NS1:bar="bar"/>
  <foo NS2:foo="foo"/>

I tryed to debug DOMStreamer, but saw nothing special. I'll try to debug

Anyone could point me to the right direction ?


SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play:
Exist-open mailing list
[hidden email]