tag empty

Hi all,

using the 2.3.1.4 version I was able to store document like:



XSL Transformation : Introduction





using the 3.1.1.1 version the same document is not accepted.
The problem stays in ChapterNumber

The node is so mapped :
Infofield - Standard - Float

Is there a way to store the same document ?

P.S. Tamino 3.1.1.1 with TSD2


thanks in advance

regards
Cristian

Hello Cristian,
in XML schema conform validation of TSD3 no empty strings are allowed for datatypes like xs:float and other numeric datatypes.
You can use the datatype xs:string;
Or you make the element optional and leave it out for empty content.

Best regards
Walter


quote:
Originally posted by Cristian Silipigni:
Hi all,

using the 2.3.1.4 version I was able to store document like:



XSL Transformation : Introduction





using the 3.1.1.1 version the same document is not accepted.
The problem stays in ChapterNumber

The node is so mapped :
Infofield - Standard - Float

Is there a way to store the same document ?

P.S. Tamino 3.1.1.1 with TSD2


thanks in advance

regards
Cristian


You may model the float value as optional with a default