HOME XML-SCHEMA XML-EXAMPLES CHESS VARIANTS FBR MBN ANCP FAQ RESOURCES ABOUT

CIF - Game Info - Opening


<xs:complexType name="Opening"> <xs:all> <xs:element name="eco" type="Eco" minOccurs="0"/> <xs:element name="usereco" type="Eco" minOccurs="0"/> <xs:element name="nic" type="NIC" minOccurs="0"/> <xs:element name="classification" type="Token" minOccurs="0"/> </xs:all> </xs:complexType>

eco contains the ECO code computed by the application. This code is in general not reliable, because the ECO computation has some limitations. Different applications may compute different ECO codes.

Element usereco contains the ECO code given by the user. Normally the application is giving this ECO code a higher precedence than the computed code.

classification contains an assigned opening name, probably combined with a variation name.

<xs:simpleType name="Eco"> <xs:restriction base="xs:string"> <xs:pattern value="[A-E][0-9][0-9]"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="NIC"> <xs:restriction base="xs:string"> <xs:pattern value="[A-Z][A-Z] ([1-9](.[1-9])*)?"/> </xs:restriction> </xs:simpleType>

A note about Scid: Scid is using extended ECO codes like "A43j". It is not allowed to export this extended code, it has to be shortened, but it is appropriate to use an additional private tag for this extended code.



Google translation

Share this page

C/CIF at Sourceforge

C/CIF at Sourceforge

C/CIF at Launchpad

C/CIF at Launchpad