[
https://issues.apache.org/jira/browse/ODFTOOLKIT-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460147#comment-13460147
]
DaLi Liu commented on ODFTOOLKIT-127:
-------------------------------------
Verified status of the issue:
2.not sure - I am not sure about this issue, maybe still leave to be opened
> Improve efficiency of used XPATH expressions
> --------------------------------------------
>
> Key: ODFTOOLKIT-127
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-127
> Project: ODF Toolkit
> Issue Type: Improvement
> Components: java
> Affects Versions: 0.8.5
> Environment: Operating System: All
> Platform: All
> Reporter: Svante Schubert
> Assignee: issues
> Priority: Minor
> Fix For: 0.8.7
>
>
> As observed before
> http://odftoolkit.org/bugzilla/show_bug.cgi?id=163#c6
> close to all XPATH expression within ODFDOM start with "//" at the beginning
> of the content.xml, even if the content root element (child of office:body)
> was initially choosen.
> Please exchange where appropriate //* against descendant::* and if possible
> use the correct element. For instance xlink:href can only exist on
> http://odftoolkit.org/downloads/odfdom/OpenDocument-v1.2-draft/OdfReference.html#attribute_xlink:href_0
> And the desired target set of elements might be even smaller.
> Please be a prototype for following developers and improve the efficiency of
> the XPath expressions.
--
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