jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Nuescheler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-77) importXML ignores registered namespaces
Date Mon, 21 Mar 2005 15:40:39 GMT
     [ http://issues.apache.org/jira/browse/JCR-77?page=comments#action_61328 ]
David Nuescheler commented on JCR-77:

works as expected for me.

here is what i did:

1) registered the xhtml namespace

2) modified it permanently to "myxhtml:" on the namespace registry using .registerNamespace()

3) mapped it transiently on my session using .setNamespacePrefix() to "blaxhtml:"

4) imported the xml example from the "first steps"

5) listed all the imported content, which shows
"blaxhtml:" for my session and "myxhtml:" for any other session

i am not sure what you are trying to achieve... you can check my tests on http://jcr.day.com,
maybe you can do your tests on there too, so we can see what you are doing?

namespace registry is here:

content import is here:

please login first with admin/admin to get write access.


> importXML ignores registered namespaces
> ---------------------------------------
>          Key: JCR-77
>          URL: http://issues.apache.org/jira/browse/JCR-77
>      Project: Jackrabbit
>         Type: Bug
>   Components: xml
>     Reporter: Felix Röthenbacher
>     Assignee: Stefan Guggisberg

> Importing xml data with Session.importXML() does not use prefix of registered namespace.
A workaround is to call Session.setNamespacePrefix() after import.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message