What are the possible formats for the entity section?
Documentation example:
<?xml version="1.0" encoding="utf-8"?>
ino:request
How can I refer to external files, as in the following example?
%isopub.ent;
I suppose a doctype is not allowed…
<!DOCTYPE am_object SYSTEM "http://www.covax.at/content/dtd/am_object.dtd" [
%isopub.ent;
]>
Many thanks for any help
bob
Bob,
there is a general rule for the format of the Data Loader input - it has to be well-formed XML.
Following this: if you use ENTITY declarations and/or DOCTYPE declarations, they have to appear before the starting ino:request and are common for all documents.
Per document declarations will be supported in the near future.
All the best,
Hermann
Taking a clue from this posting i tried to upload an ino:object with entity decl as below
<?xml version="1.0" encoding="utf-8"?>
ino:request
ino:object
-
IASIL: The International Association for the Study of Irish Literatures
http://www.ulst.ac.uk/faculty/humanities/lang+lit/iasil/
IASIL, founded in 1969, promotes the teaching and study of Irish lit
erature in third-level education throughout the world. It also serves as a vehic
le for bringing Irish writing to a wider audience through conferences and public
ations.
<date_added>2002-03-14</date_added>
-
association
literature
irish
</ino:object>
</ino:request>
it gives me a parse error with a message
API Version = 1.1
Tamino Java Loader has started.
INOXTL8422 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
INOXTL8422 Line: 2 Column: 3
INOXTL8422 SystemId: file:/export/home/amit/allirithdata_rev_07_10.xml_1_2
without the entity reference how ever there is no problem. If some one has been able to use entity references in tamino’s and while loading documents containing entity references and decl using java loader please respond.
will appreciate any pointers
regards
Amit