[ https://issues.apache.org/jira/browse/AXIS2C-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samisa Abeysinghe resolved AXIS2C-498. -------------------------------------- Resolution: Fixed Someone has applied the given patch > Axiom OM structure built is inconsistent with the original xml document in > certain cases where the default namespace is set to the empty namespace > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-498 > URL: https://issues.apache.org/jira/browse/AXIS2C-498 > Project: Axis2-C > Issue Type: Bug > Components: xml/om > Affects Versions: Current (Nightly) > Reporter: Dumindu Pallewela > Fix For: 1.0.0 > > Attachments: patch-498 > > > When the default namespace is is set to the empty namespace as follows (in > element "c") it is ignored while building the OM structure. > Therefore in the following case the built OM structure says element "c"'s > namespace is the same as element "b"'s namespace. > <a xmlns=""> > <b xmlns="urn:def"> > <c xmlns=""> > </c> > </b> > </a> > I.e., the built OM structure represents the following, which is different to > the original XML document: > <a> > <b xmlns="urn:def"> > <c> > </c> > </b> > </a> > However, it should be noted that in the following case where we do not > specifically mention that element "a"'s namespace as the empty namespace; the > built OM structure properly represents element "c" as an unqualified element > with the empty namespace. > <a> > <b xmlns="urn:def"> > <c xmlns=""> > </c> > </b> > </a> -- 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]