axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Mitchell (JIRA)" <>
Subject [jira] Commented: (AXIS2C-857) guththila parser drops xml:id attributes from incoming elements
Date Fri, 01 Feb 2008 22:43:08 GMT


Bill Mitchell commented on AXIS2C-857:

I noticed that along the way a change in Lahiru's patch to fix guththila_tok_tok_cmp to scan
all the characters in the token was not applied in the final patch.  This fix is now restored
in svn rev 617685.

> guththila parser drops xml:id attributes from incoming elements
> ---------------------------------------------------------------
>                 Key: AXIS2C-857
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, Visual Studio 2005, guththila parser, libcurl
>            Reporter: Bill Mitchell
>            Assignee: Dinesh Premalal
>            Priority: Minor
>             Fix For: 1.2.1
>         Attachments: diff.txt, diff2.txt, diff_mod.txt
> The XML specification allows an element to carry an xml:id attribute without the xml
namespace being declared explicitly.  In fact, if the xml namespace is declared, it must match  When the namespace is not declared explicitly, it appears
that the guththila parser discards the incoming xml:id attributes without including them in
the om.  
> For example, I receive a response message from a service that begins:
> <env:Envelope xmlns:xsd="" xmlns:env=""
> <env:Body>
> <fw:getExemplarResponse responseMessage="master exemplar provided." name="customer"
supportedMethods="browse browseNext browsePrevious create update delete retrieve">
> <exemplar handle="master">
> <cr-customer-record xml:id="Q375" type="xsd:string">
> <cr-customer-id xml:id="Q376" type="xsd:string">
> </cr-customer-id>
> ...
> When linked with libxml, the client code sees two attributes, a type attribute and an
xml:id attribute, attached to the element nodes.  When linked with the guththila parser, only
the type attribute is present.  

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:
For additional commands, e-mail:

View raw message