axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-498) Axiom OM structure built is inconsistent with the original xml document in certain cases where the default namespace is set to the empty namespace
Date Wed, 21 Mar 2007 04:35:32 GMT

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

Samisa Abeysinghe updated AXIS2C-498:
-------------------------------------

    Fix Version/s: 1.0.0

> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message