Avatar of Member_2_7967608

asked on 

Attribute name="nonEmptyString" not allowed in xs:simpletype

Hi all,

I get the error in the below code in .NET schema validation. The schema file is shared by some one else using J2EE.  My client is .NET.

"Attribute name="nonEmptyString"  not allowed" => in xs:simpletype

<xs:element name="ID" minOccurs="1" nillable="false">
        <xs:simpleType   name="nonEmptyString">
          <xs:restriction base="xs:string">
            <xs:pattern value="(\s*[^\s]\s*)+"/>
            <xs:maxLength value="15"/>

Open in new window

.NET Programming* XSDXMLJava EE

Avatar of undefined
Last Comment
Gertone (Geert Bormans)

8/22/2022 - Mon