Activity

The difference here is though, that lowercase in the XML does not even validate against the XSD. The XSD enforces an enumeration.

Example error message from eclipse:

- cvc-enumeration-valid: Value 'auto' is not facet-valid with respect to enumeration '[TABLE, SEQUENCE, IDENTITY, AUTO]'. It must
be a value from the enumeration.
- cvc-attribute.3: The value 'auto' of attribute 'strategy' on element 'generator' is not valid with respect to its type, 'generator-
strategy'.

Automatic validation and code completion /intellisense is one of the main big advantages of XML over YAML (and why I prefer it).

Roman S. Borschel
added a comment - 16/Dec/09 1:44 PM - edited The difference here is though, that lowercase in the XML does not even validate against the XSD. The XSD enforces an enumeration.
Example error message from eclipse:
- cvc-enumeration-valid: Value 'auto' is not facet-valid with respect to enumeration '[TABLE, SEQUENCE, IDENTITY, AUTO]'. It must
be a value from the enumeration.
- cvc-attribute.3: The value 'auto' of attribute 'strategy' on element 'generator' is not valid with respect to its type, 'generator-
strategy'.
Automatic validation and code completion /intellisense is one of the main big advantages of XML over YAML (and why I prefer it).