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.
--
WEBEDISOFT - The Instant Collaboration Company
T�l : 02 97 35 30 26
Fax : 02 97 35 30 31
<!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by demo1 (demo2) -->
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
<article>
<title>Main article title</title>
<articleinfo>
<author>
<firstname>Support Technique</firstname>
<surname>Webedisoft</surname>
</author>
<abstract>
<para>This is the summray</para>
</abstract>
<date>02/02/2002</date>
<copyright>
<year>2002</year>
<holder>WEBEDISOFT</holder>
</copyright>
<corpname>WEBEDISOFT</corpname>
<keywordset>
<keyword>article</keyword>
</keywordset>
</articleinfo>
<lot/>
<sect1>
<title>Section title</title>
<para>Section para</para>
</sect1>
<sect1>
<title>Section title 2</title>
<para>Section PAra 2</para>
</sect1>
<toc/>
</article>