[jboss-jira] [JBoss JIRA] (AS7-6390) Problem with jboss versions of xerces and xalan: XML Parsing Error: duplicate attribute in wsdl definitions
Paul Gier (JIRA)
jira-events at lists.jboss.org
Wed Feb 20 11:22:57 EST 2013
[ https://issues.jboss.org/browse/AS7-6390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755465#comment-12755465 ]
Paul Gier commented on AS7-6390:
--------------------------------
{quote}Another consternation about this third party release is that in nexus repository there is released JAR named: xalan-2.7.1-jbossorg-2 while there is no such version on github.{quote}
That's strange, the version is in the repo, and can be seen if you go directly to the url:
https://github.com/jboss/xalan-j/tree/2.7.1.jbossorg-2
But it doesn't show up in the list of tags, and I don't see a way in github to browse to the tag.
The xsltc patch came from what we had in EAP at the time, but at the moment, I'm not able to track down why we had enabled that. Anyway, the solution seems to be to release a new build with that patch removed, and possibly some other updates.
> Problem with jboss versions of xerces and xalan: XML Parsing Error: duplicate attribute in wsdl definitions
> -----------------------------------------------------------------------------------------------------------
>
> Key: AS7-6390
> URL: https://issues.jboss.org/browse/AS7-6390
> Project: Application Server 7
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 7.1.1.Final
> Reporter: Michael Vetter
>
> We are using a feature (SimpleWsdl11Definition) of spring ws (version 1.5.9) to serve wsdl files to the browser or to a client.
> Our wsdl file has custom namespace prefixes like this:
> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:bsf="http:/... >
> It works in JBoss 5.1 and eap 6.0.0 but with JBoss 7.1.1 or the current 7.2 snapshot I get the following error when I enter the wsdl URL in the browser:
> XML Parsing Error: duplicate attribute
> Location: http://localhost:8080/sc-webservices/service/loginServiceWS.wsdl
> Line Number 1, Column 671:<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:bsf="http://
> The wsdl served to the browser contains duplicates of the custom namespace prefixes defined in the original wsdl file packaged in a war inside an ear.
> While debugging I only saw classes from jboss versions of xerces and xalan parsing the wsdl and serving the result to the client.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list