You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/01/28 18:57:34 UTC

[jira] Updated: (CMIS-106) Enhance XML parser compatibilty

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

Michael Dürig updated CMIS-106:
-------------------------------

    Attachment: CMIS-106.patch

Suggested patch

> Enhance XML parser compatibilty 
> --------------------------------
>
>                 Key: CMIS-106
>                 URL: https://issues.apache.org/jira/browse/CMIS-106
>             Project: Chemistry
>          Issue Type: Bug
>          Components: atompub
>            Reporter: Michael Dürig
>         Attachments: CMIS-106.patch
>
>
> With the Xerces parser from my JRE, StaxReader#getAttributeValue fails such that attribute values without name space are not returned (i.e. the method returns null).
> The problem is that the calls getAttributeValue(localName) and getAttributeValue("", localName) seem to behave differently for different implementations. I suggest to always use getAttributeValue(localName) instead of getAttributeValue("", localName). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.