Emmanouil Batsis wrote:

When using org.apache.xml.serialize.XMLSerializer, attributes come out unqualified (no namespace prefix) when their parent element belongs to the same namespace. The parent element however, does come out qualified.



It works correctly if i specify the qname (before i was only providing NS URIs and local names, as with all events in my code). Is this how it should be done? I'd like to avoid providing qnames even in attributes. I should also add that:


* there is no parser in the mix, i just create events programmatically
* the prefix mapping events are created correctly by my code
* the XMLSerializer is configured with namespaces=true
* i use org.xml.sax.AttibutesImpl to create attributes


Thanks,

Manos

This is probably a config issue, hope someone can point out what i'm missing?

Thanks,

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to