XML Schema. Processing namespace-aware attribute values
问题 Part of my project involves heavy transformations of user-defined schema documents. I need to be able to change target namespaces, support type cross-references and build wsdl upon multiple schema documents. One of the most commonly used operations is changing namespace prefix prior to importing schema into wsdl file. I'm using org.xml.sax.ContentHandler and it's startPrefixMapping method to handle namespaces. All works fine and flawless unless I want to change element types. Here is simple