X-Application with converted Schemas

X-Application Version: 3.1.1
Tamino Version : 3.1.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 4.0
JDK Version : 1.3.1_01

Just a note to anyone generating an X-Application from a Tamino schema which has been converted using the Tamino V3 Schema Migration Tool. When I tried this, my generated application didn’t allow input of most of the Elements in my schema. The Migration Tool had converted many of my PCDATA Elements into Mixed Content Elements. This was because I had used conversion-type “loose” and I should have used “strict”.

If you get unexpected results from the generator after schema conversion, check your Element definitions in the Schema Editor. If they have the Property “mixed”=true you might need to review your converted schema - mixed content isn’t supported by X-Application.

If you prefer to use a text editor to look at your schema, you might see nodes like this:

code:

<xs:element name = “…”>

<xs:complexType mixed = “true”></xs:complexType>
</xs:element>


I converted these to look like this:
code:

<xs:element name = “…” type= “xs:string”>
</xs:element>


and now the generator works fine.

[This message was edited by Bill Leeney on 21 Dec 2001 at 09:58.]