Problems with choice and sequence elements...

X-Application Version: 3.1.2
Tamino Version…:
Platform…: SuSE Linux 7.1 kernel 2.4.0
WebContainer…: Tomcat 3.3 (WebDAV’s)
JDK Version…: 1.3.1_02
encoding used…: iso-8859-1

Hi gurus,

I’ve tried to load a costumer xml document which was using choice element in its structure. I know that TSD has some problem with this kind of element, so I’ve changed to sequence.

After that, I loaded this structure into Tamino and generated an X-Application from it. However, when I try to load its native data, Tamino stores it as nonXML. Even when I try to load the data included via X-Application with TII, the same error occurred.

Please, take a look on the document below and on the attachment amd give me a hint.

Thanks in advance,


[This message was edited by Fernando Ito on 09 Apr 2002 at 15:46.]
rss-0.91.xml (66.4 KB)

If I change the TAGs name <channel> to <channe>, Tamino stores it.<BR>This change do not solve the problem, I do not understand what is happening.<P>Simplifying the document, I tried to store the following XML file in Tamino (without a defined Schema), but Tamino stores it as non-xml file.<P>XML document:<P><?xml version="1.0" encoding="ISO-8859-1" ?><BR><rss version="0.91"><BR><channel><BR> <title>Terra - basquete</title><BR> <link></link><BR> <description>Terra - basquete</description><BR> <publisher>Terra</publisher><BR> <language>pt-br</language><BR> <item><BR> <title>15h09 &#187; Filho de Oscar se despede do Fla nesta sexta</title><BR> <link></link><BR> <description><BR>15h09 &#187; <a href="" class="texto1link">Filho de Oscar se despede do Fla nesta sexta</a><BR> </description><BR> </item><BR></channel><BR></rss><P>Tamino response:<P><BR> </ino:message><BR> <ino:object ino:collection="ino:etc" ino:doctype="ino:nonXML" ino:id="18" /> <BR> <ino:message ino:returnvalue="0"><BR> <BR> <BR>If I change the TAGs name to , Tamino stores it.

XML document:

<?xml version="1.0" encoding="ISO-8859-1" ?>

Terra - basquete
Terra - basquete

15h09 » Filho de Oscar se despede do Fla nesta sexta

15h09 » Filho de Oscar se despede do Fla nesta sexta

Tamino response:

<ino:object ino:collection=“ino:etc” ino:doctype=“rss” ino:id=“12” />
<ino:message ino:returnvalue=“0”>

even stranger still if the document is modified thus:

<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE rss [
<!ENTITY pound "