The error I am receiving is "
F [Xerces] Open quote is expected for attribute "name" associated with an element type "xsd:element".
I am receiving the error at the declaration of the first element.
Below is the code.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name=”mySubForm”>
<xsd:complexType>
<xsd:sequence>
<xsd:element name=”phone”>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base=”xsd:string”>
<xsd:attribute name=”phoneType” use=”required”>
<xsd:simpleType>
<xsd:restriction base=”xsd:string”>
<xsd:enumeration value=”01 - Work”/>
<xsd:enumeration value=”02 - Fax”/>
<xsd:enumeration value=”03 - Cell”/>
<xsd:enumeration value=”04 - ISDN”/>
<xsd:enumeration value=”05 - Home”/>
<xsd:enumeration value=”06 - Pager”/>
<xsd:enumeration value=”07 - Home Fax”/>
<xsd:enumeration value=”08 - Other”/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>