Konrad Windszus created JCRVLT-718:
--------------------------------------
Summary: 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
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)