You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2014/07/30 01:51:10 UTC

[jira] (MSHADE-175) XmlAppendingTransformer should merge namespaces

     [ https://jira.codehaus.org/browse/MSHADE-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MSHADE-175:
--------------------------------

    Affects Version/s: 1.2.2
                       2.3

> XmlAppendingTransformer should merge namespaces
> -----------------------------------------------
>
>                 Key: MSHADE-175
>                 URL: https://jira.codehaus.org/browse/MSHADE-175
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2.2, 2.3
>            Reporter: Brett Porter
>
> Consider merging two spring-context.xml files, where one uses a tag such as {{util:properties}}, and the second does not, not declaring the namespace. The merged document contains the tag, but not the namespace, causing it to fail to parse at runtime:
> {code}
> Caused by: org.xml.sax.SAXParseException; lineNumber: 32; columnNumber: 152; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'util:properties'.
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)