logo       

Storing complex documents in eXist: msg#00242

text.xml.exist

Subject: Storing complex documents in eXist

Hello all,
I've got a problem - we're developing web shop application with use of eXist and one of our shops has very complex structure - over 170 product categories and about 1600 products in them. When trying to upload this xml file to eXist, I've got error:
 
29 ╤Б╨╡╨╜ 2004 10:35:36,125 [Thread-5] DEBUG (LocalCollection.java [storeResource]:530) - storing document store.xml
29 ╤Б╨╡╨╜ 2004 10:35:36,156 [Thread-5] DEBUG (Collection.java [determineTreeStructure]:1112) - validating document store.xml
org.exist.EXistException: The document is too complex/irregularily structured to be mapped into eXist's numbering scheme. Number of children per level of the tree: [ 1, 3, 16, 7, 25, 17, 26, 17, 13, 17, 14, 17, 15, 17, 11, 17, 13, 17, 10, 17, 15, 17, 7, 2 ]
 
        at org.exist.dom.DocumentImpl.calculateTreeLevelStartPoints(DocumentImpl.java:263)
        at org.exist.dom.DocumentImpl.calculateTreeLevelStartPoints(DocumentImpl.java:248)
        at org.exist.collections.Collection.determineTreeStructure(Collection.java:1119)
        at org.exist.collections.Collection.validate(Collection.java:778)
        at org.exist.xmldb.LocalCollection.storeXMLResource(LocalCollection.java:586)
        at org.exist.xmldb.LocalCollection.storeResource(LocalCollection.java:531)
        at org.exist.client.InteractiveClient.parse(InteractiveClient.java:1539)
        at org.exist.client.ClientFrame$37.run(ClientFrame.java:972)
 
I've found this: "However, there are some documents with a very irregular structure, which cannot be mapped into the internal identifer scheme. Such documents have to be split into smaller, logical parts. We are working on an automatic splitting algorithm to simplify this." at http://exist.sourceforge.net/facts.html, but I'd like to know if there's insuperable obstacle or there's a way to turn around this limitation. If there's no way currently to avoid this constraint, is there any chance that the situation will change in a forseeable future?
 
--
Sergey V. Prohorenko,                     ICQ UIN 16185195
Software engineer                            +38 (044) 228-1622
UCMG, IT dept.                                http://www.ucmg.com.ua
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise