I think ns prefix contains a bug.
 
There are no way to force castor to remove ns prefix of final document xml.
 
setNamespaceMapping("","my-uri") not function
setNamespaceMapping(null,"my-uri") not function
declareNameSpace(..) is private
 
My schema (xsd) is correct.
 
Castor put 
....
<ns1:my_element     xmlns:ns1=http://castor.exolab.org>
<ns2:my_element     xmlns:ns2=http://castor.exolab.org>
<ns2:my_element     xmlns:ns2=http://castor.exolab.org>
...
 
 
this is not good.
 
Romilson

Reply via email to