jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Scheffler (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-147) exportXML escapes values
Date Fri, 24 Jun 2005 13:37:58 GMT
exportXML escapes values

         Key: JCR-147
         URL: http://issues.apache.org/jira/browse/JCR-147
     Project: Jackrabbit
        Type: Bug
  Components: xml  
 Environment: Gentoo Linux 2005.0
    Reporter: Thomas Scheffler

I tested jackrabbit with the tutorial found at your homepage (http://incubator.apache.org/jackrabbit/firststeps.html).
After importing a custom xml I wanted it to be exported again.

Here is a snip of the dump(Node n) output:
/sample1/mycoreobject/metadata/creatorlinks/creatorlink/xlink:title=Thomas Scheffler

I run the following command:

session.exportDocumentView("/sample1/mycoreobject", System.out, false, false);

and get the following output:
<creatorlink jcr:primaryType="nt:unstructured" xlink:type="locator" xlink:href="DiplArb_person_00000001"
xlink:label="Author" xlink:title="Thomas_x0020_Scheffler" />

As you can see the "xlink:title" attribute value is escaped after the rules of chapter 6.4.3
of the specification, but this should only be applied to XML element and attribute NAMES.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message