[
https://issues.apache.org/jira/browse/WSCOMMONS-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542889
]
Rich Scheuerle commented on WSCOMMONS-281:
------------------------------------------
James,
WSCOMMONS-279 introduced a method, OMSerializerUtil.isAssociated(prefix,
namespace...).
Perhaps this is the best place to squash the declaration. If the prefix is
"xml", isAssociated should return "true" which should prevent the unnecessary
xmlns:xml declaration.
> xmlns:xml declaration is unnecessary and fails in some parsers
> --------------------------------------------------------------
>
> Key: WSCOMMONS-281
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-281
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: All
> Reporter: James M Snell
>
> When serializing an Axiom element that contains xml:lang or xml:base, the
> xmlns:xml declaration is serialized. The decl is unnecessary and causes
> problems with some parsers. This xml prefix decl needs to be suppressed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]