[
https://issues.apache.org/jira/browse/JCRVLT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated JCRVLT-600:
-----------------------------------
Description:
Although [Enhanced DocView
Format|https://jackrabbit.apache.org/filevault/docview.htmlhttps://jackrabbit.apache.org/filevault/docview.html]
mandates namespace declaration of the prefix used in the filename, this often
conflicts with automatic cleanup of XML editors if the prefix is not also used
within the xml itself.
During import both the already declared prefixes from the target repository and
the declared prefixes from the XML are considered, so in most cases it should
work without declaration anyways.
Therefore the validator should be relaxed to optionally not emit errors for
undeclared prefixes in the file name of docview files.
was:
Although [Enhanced DocView
Format|https://jackrabbit.apache.org/filevault/docview.htmlhttps://jackrabbit.apache.org/filevault/docview.html]
mandates namespace declaration of the prefix used in the filename, this often
conflict with automatic cleanup of XML editors if the prefix is not used within
the xml itself.
During import both the already declared prefixes from the target repository and
the declared prefixes from the XML are considered, so in most cases it should
work without declaration anyways.
Therefore the validator should be relaxed to optionally not emit errors for
undeclared prefixes in the file name of docview files.
> jackrabbit-docviewparser: optionally accept undeclared prefixes in file name
> ----------------------------------------------------------------------------
>
> Key: JCRVLT-600
> URL: https://issues.apache.org/jira/browse/JCRVLT-600
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: validation
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: 3.6.0
>
>
> Although [Enhanced DocView
> Format|https://jackrabbit.apache.org/filevault/docview.htmlhttps://jackrabbit.apache.org/filevault/docview.html]
> mandates namespace declaration of the prefix used in the filename, this
> often conflicts with automatic cleanup of XML editors if the prefix is not
> also used within the xml itself.
> During import both the already declared prefixes from the target repository
> and the declared prefixes from the XML are considered, so in most cases it
> should work without declaration anyways.
> Therefore the validator should be relaxed to optionally not emit errors for
> undeclared prefixes in the file name of docview files.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)