Running xmllint on the gml 3.1.1 schema fails, even though the release notes claim that this release was created to get the schema to validate using 'common tools'. There's questions about this on the web, but no satisfying answers.
xmllint --schema http://schemas.opengis.net/gml/3.1.1/base/gml.xsd \ --noout foo.xml
returns something like:
element complexType: Schemas parser error : local list type: A type, derived by list or union, must have the simple ur-type definition as base type
This is not the same problem as the one described here, which was a Xerces C++ issue.
If there is some other xmllint issue here, what xml validator is known to work with GML?
I have this problem on a few different flavors of Ubuntu, CentOS, and RHEL 5.x
The 3.1.1 and 2.1.2 GML schemas validate using the following tools: