You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/04/26 07:55:24 UTC

DO NOT REPLY [Bug 34613] New: - Need to process [attribute id="name"]somename[/attribute]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34613>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34613

           Summary: Need to process [attribute
                    id="name"]somename[/attribute]
           Product: Commons
           Version: 1.6 Final
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Digester
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: skitching@apache.org


It is reasonably common to encounter xml like
<person>
  <attribute id='name'>somename</attribute>
  <attribute id='age'>99</attribute>
  ..
</person>

Currently there is no built-in rule to support this in Digester:
 BeanPropertySetterRule supports <name>somename</name>
 SetPropertyRule supports <attribute id='name' value='somename'/>.
 SetPropertiesRule supports <attribute name='somename'/>
but nothing supports the first syntax listed above.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org