any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-132) Handle value-title class in microformat
Date Mon, 14 Jan 2013 01:58:12 GMT

    [ https://issues.apache.org/jira/browse/ANY23-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552384#comment-13552384
] 

Lewis John McGibbney commented on ANY23-132:
--------------------------------------------

Sebastien, I can't find the class causing your concern. Can you please point it out to us?
                
> Handle value-title class in microformat
> ---------------------------------------
>
>                 Key: ANY23-132
>                 URL: https://issues.apache.org/jira/browse/ANY23-132
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>            Reporter: Sebastien Richard
>             Fix For: 0.7.1
>
>
> http://microformats.org/wiki/value-class-pattern
> Proposed patch:
> 72,78c72,73
> <         // first check if there are value-title inside
> <         List<Node> values = DomUtils.findAllByClassName(node, "value-title");
> <         if (!values.isEmpty()) {
> <             return new TextField(values.get(0).getAttributes().getNamedItem("title").getNodeValue(),
node); 
> <         }
> <         // next value
> <         values = DomUtils.findAllByClassName(node, "value");
> ---
> >         // first check if there are values inside
> >         List<Node> values = DomUtils.findAllByClassName(node, "value");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message