You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2011/06/27 00:03:47 UTC

[jira] [Resolved] (DIGESTER-90) [digester] xmlrules does not support setNamespaceURI

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

Simone Tripodi resolved DIGESTER-90.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0
         Assignee: Simone Tripodi

Fixed on Digester3 /trunk; namespaceURIs can be declared as attribute of {{digester-rules}} elements, i.e.

{code}
<digester-rules namespaceURI="http://www.w3.org/2005/Atom">
  <pattern value="feed">
  ...
  </pattern>
</digester-rules>
{code}

see [r1139948|http://svn.apache.org/viewvc?view=revision&revision=1139948]

> [digester] xmlrules does not support setNamespaceURI
> ----------------------------------------------------
>
>                 Key: DIGESTER-90
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-90
>             Project: Commons Digester
>          Issue Type: Improvement
>    Affects Versions: 1.6
>         Environment: Operating System: All
> Platform: All
>            Reporter: Simon Kitching
>            Assignee: Simone Tripodi
>            Priority: Minor
>             Fix For: 3.0
>
>
> It is not possible to set the namespace-uri associated with a Rule instance
> created via xmlrules. This means that it is not possible to process a document
> with namespaces using xmlrules. [well, it might be possible to set
> namespaceAware to false, then include the prefix in the pattern, but that's a
> nasty hack].

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira