Good news 🙂

I’ve a couple of GMail accounts to give away.  Let’s make this a little contest 🙂  Since I’m curious how deep the average XML Schema knowledge goes, I’ll grant GMail access to the first two people that post a comment explaining what is wrong with the XML Schema below. 

Note: XMLSpy will mark this schema as valid while it certainly is not!  (Has anyone accidently noticed my aversion against this tool? :-))) )

<?xml version=”1.0″ encoding=”UTF-8″?>

<xs:schema xmlns:xs=”” elementFormDefault=”qualified” attributeFormDefault=”unqualified” targetNamespace=”myTargetNamespace” xmlns:tns=”myTargetNamespace”>
   <xs:element name=”address” type=”tns:addressType”/>

   <xs:element name=”customerDetails”>
<xs:element name=”firstName” type=”xs:string”/>
<xs:element ref=”tns:address” nillable=”true”/>

   <xs:complexType name=”addressType”>
<xs:element name=”street” type=”xs:string”/>
<xs:element name=”number” type=”xs:string”/>

Share this post: Email it! | bookmark it! | digg it! | reddit!