Phil,

dbXML / Xindice needs the line

<?xml version="1.0"?>

in each document.


Carsten


Am 05.02.2002 11:13 Uhr schrieb "Philippe NAEL" unter
<[EMAIL PROTECTED]>:

> Hello,
> 
> I am new to this mailing and I hope it is the right place for the
> following question.
> 
> I am currently trying to add a docbook article to a dbXML v1.0b4 server.
> I created a collection called Phil :
> 
> [EMAIL PROTECTED]:~$ /usr/local/dbXML/bin/dbxmladmin lc -c /db
> 
> root
> addressbook
> Phil
> system
> 
> Total collections: 4
> 
> 
> When I add a document I get the following :
> 
> [EMAIL PROTECTED]:~$ /usr/local/dbXML/bin/dbxml ad -c /db/Phil -f
> /wesdev/temp/sample2.dbk -n sample2.dbk -v
> ERROR : Collection Document Malformed
> Document name = sample2.dbk
> org.xmldb.api.base.XMLDBException: Collection Document Malformed
> at org.dbxml.core.FaultCodes.createXMLDBException(FaultCodes.java:230)
> at
> org.dbxml.client.xmldb.CollectionImpl.storeResource(CollectionImpl.java:510)
> at org.dbxml.tools.command.AddDocument.execute(AddDocument.java:120)
> at org.dbxml.tools.XMLTools.execute(XMLTools.java:320)
> at org.dbxml.tools.XMLTools.process(XMLTools.java:249)
> at org.dbxml.tools.XMLUserTools.main(XMLUserTools.java:90)
> 
> The document is attached to this mail. It seems to be wellformed (IE 5.5
> and rxp are ok with it). I managed to store it in a eXist XML database.
> Any help would be fine.
> Thanks.
> 

-- 
Carsten Ziegert
Fachhochschule Hannover
FB Informations- und Kommunikationswesen
Ricklinger Stadtweg 120
30459 Hannover
++49-511-9296-768
http://summit-bmt.fh-hannover.de



Reply via email to