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

Konrad Windszus updated JCRVLT-718:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Fixed in 
https://github.com/apache/jackrabbit-filevault/commit/888299f73d6d7a1c99bbb28ed80c77e85cbab605.

> DocumentViewXmlValidator.validateEnd(...) called with wrong nodePath
> --------------------------------------------------------------------
>
>                 Key: JCRVLT-718
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-718
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.7.2
>
>
> The {{NodeContext}} given to method 
> {{DocumentViewXmlValidator.validateEnd(...)}} contains an incorrect 
> {{nodePath}}. Instead of pointing to the node path which is currently ended 
> it points to its parent node path.
> This is due to the fact that DocViewParserHandler.endDocViewNode is called 
> with the wrong path in 
> https://github.com/apache/jackrabbit-filevault/blob/45bb0ff67a55a7a86313fe2a1d234e1005e98801/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXHandler.java#L360.
> Note: This only affects the ValidatorDocViewParserHandler but not the 
> DocViewImporter (as the latter does not evaluate the nodePath parameter. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to