Hi, in BaseX 6.7.2 beta we are hitting new issue, that we haven't observed in 6.7.1. I store following xml: <task oid="91919191-76e0-59e2-86d6-998877665544" xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:my="http://myself.me/schemas/whatever"> <extension> <my:shipState>capsized</my:shipState> <my:dead xsi:type="xsd:integer">42</my:dead> </extension> </task> ... and when I retrieve it, the xsd namespace declaration is missing. However the xsd namespace is used in value of xsi:type attribute. regards, Igor Farinic