You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2022/09/24 13:02:00 UTC

[jira] [Commented] (JCRVLT-658) Importer fails for invalid namespace names

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

Julian Reschke commented on JCRVLT-658:
---------------------------------------

Proposed fix:

[https://github.com/apache/jackrabbit-filevault/pull/245]

Note that the test node also has a test property, but the IT test fails for it (although the repo content looks correct to me).

> Importer fails for invalid namespace names
> ------------------------------------------
>
>                 Key: JCRVLT-658
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-658
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>    Affects Versions: 3.6.4
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> If content uses XML namespaces that are invalid as JCR namespace names, import can fail, because JCR's fully qualified name notation ("Clark" notation) only works *valid* namespace names.
> Example; content contains:
> xmlns:foo="bar"
> for a child node "foo:child". The qualified form would be "\{bar}child", but Jackrabbit and Oak can not resolve that, as "bar" is not detected as JCR namespace name (which by definition is an absolute URI).
> Importer code that uses qualified names thus needs to special-case namespace names where the qualified notation will not work.



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