jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mittag (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-270) Importer drops jcr:xmlcharacters fields after a large jcr:xmlcharacters entry
Date Wed, 16 Nov 2005 15:43:30 GMT
Importer drops jcr:xmlcharacters fields after a large jcr:xmlcharacters entry
-----------------------------------------------------------------------------

         Key: JCR-270
         URL: http://issues.apache.org/jira/browse/JCR-270
     Project: Jackrabbit
        Type: Bug
  Components: xml  
    Versions: 1.0.1    
 Environment: probably all, tested on Win2k with 256 MB heap size.
    Reporter: Michael Mittag


If you have an XML node as follows:

<a>
[lots and lots of data]
</a>

This should translate into

Node: a
 +- Node: jcr:xmltext
   +- Property: jcr:xmlcharacters = [lots and lots of data]

Instead, the following things happen:
- There is no node jcr:xmltext
- If the node a has child nodes, they also lose the jcr:xmltext node
- Any nodes on the same level after node a also lose the jcr:xmltext node
- Nodes that come after a, but are on a higher level, have correct jcr:xmltext 
nodes

(I've used some 100+k of data, namely a base64 encoded picture)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message