Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS7-6390 I think this is the most generic way of dealing with this probl... #1

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

jjromannet
Copy link

IMHO There is a problem with "http://xml.org/sax/features/namespace-prefixes" feature of SAX parser. When it is set to true attribute list of first element contains namespace definitions, moreover these attributes have parameters set incorrectly (at least AFAIK). So ...
there are parameters like:
{qname="xmlns:wsdl", uri="", local=""}
while it suppose to be:
{qname="xmlns:wsdl", uri="http://www.w3.org/2000/xmlns/", local="wsdl"}

Returning this namespace definitions as attributes causing they are processed once as "raw" attributes and then as namespace definitions. XALAN is checking for duplicated attributes based only on URI and local - so these two are different for IT.

I added lookup on qname if such URI/LOCAL lookup failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant