Hello!

We want to have special date fields in our interfaces.

Days and month have special meanings, they can be null.
So we modeled the type this way:

        <xsd:simpleType name="DatumType">
                <xsd:annotation>
                        <xsd:documentation>DatumType: Format richtet sich
nach xsd:date, '00' bei Monat und Tag erlaubt</xsd:documentation> 
                </xsd:annotation>
                <xsd:restriction base="xsd:string">
                        <xsd:pattern
value="[0-9]{4}[\-][0-9]{2}[\-][0-9]{2}"/>
                </xsd:restriction>
        </xsd:simpleType>       

We encountered some problems with this type, when customers called the
service with .net.
How would you model this kind of date type to stay portable?

Thanks, Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to