commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Warren (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CONFIGURATION-652) FileHandler does not produce root node attributes for XMLConfiguration
Date Sat, 11 Feb 2017 20:16:41 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claude Warren updated CONFIGURATION-652:
----------------------------------------

I think the solution might be to check for root level namespaces and add
them to the xml tag (whatever that first line is before the root node, the
one that contains the schema definitions and such).  I think this would be
the approach since the root node namespaces should have the [@xmlns] tag on
the root node itself.

Does this sound correct to you?

On Sat, Feb 11, 2017 at 4:33 PM, Oliver Heger (JIRA) <jira@apache.org>




-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren


> FileHandler does not  produce root node attributes for XMLConfiguration 
> ------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-652
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-652
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Interpolation
>    Affects Versions: 2.1.1
>         Environment: Java 8  on Linux
>            Reporter: Claude Warren
>              Labels: namespace, xml
>         Attachments: Test.java
>
>
> I have a case where I need to take a Configuration file and write it as an XML document.
 The document should have one or more xmlns properties on the root node but the xmlns attributes
are not output.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message