Format Document
Hmm, what about namespaces?
elementFormDefault="qualified"
Add an element declaration:
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://namespaces.cafeconleche.org/birds/"
xmlns:tns="http://namespaces.cafeconleche.org/birds/"
elementFormDefault="qualified">
<element name="daylist">
<complexType>
<sequence>
</sequence>
</complexType>
</element>
</schema>
Unlike DTDs errors are noted dynamically
Set document to validate against schema (comment out DOCTYPE and notice how "too smart" the comment autocomplete is):
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://namespaces.cafeconleche.org/birds/ daylist.xsd"