Hi all,
I am using the SAXSerializer to generate SAX events from anĀ org.basex.query.value.item.Item instance.

The Item instance represents the database doc's root in this specific case:

<r:root xmlns:r="r" xmlns:x="x" x:attr="test">
</r:root>

It seems that when the following method is called:

org.xml.sax.ContentHandler.startElement(String, String, String, Attributes)

the attributes map is missing namespace declarations (I would expect the ns declarations to be mapped to attributes).

I.e. the above r:root element will be provided with just the x:attr in the attributes map, but not the xmlns:x as attribute.

Do you have any solutions for this issue? How do I get the namespaces when startElement() is executed?

Thanks!