AnsweredAssumed Answered

javascript error on web forms.

Question asked by robain on Aug 15, 2008
The problem exists for sure. Also I was trying to play with the XSD below

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:simpleType name="LocaleType">
<xs:restriction base="xs:string">
<xs:enumeration value="en_ES" />
<xs:enumeration value="en_US" />
</xs:restriction>
</xs:simpleType>

<xs:complexType name="LocaleMap">
<xs:sequence>
<xs:element name="Locale" type="LocaleType" minOccurs="1" maxOccurs="1" />
<xs:element name="translation" type="xs:anyURI" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:complexType>

<xs:element name="DocumentList">
<xs:complexType>
<xs:sequence>
<xs:element name="DocumentURL" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="ParentTranslation" type="xs:anyURI" minOccurs="0" maxOccurs="1" />
<xs:element name="LocaleMap" type="LocaleMap" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:schema>

the web form gives a javascript error when trying to select the checkbox for the Locale in LocaleMap. Anyone has ideas on what the problem is ?

Thanks

Outcomes