# file : tests/schema/annotation.testscript # license : GNU GPL v2 + exceptions; see accompanying LICENSE file : basic : { cat <=test.xsd; schema documentation list type documentation union type documentation enumeration type documentation enumerator documentation (male) enumerator documentation (female) complex type documentation local element efoo documentation local element ebar documentation nested local element efoo documentation nested local attribute afoo documentation local element ebaz documentation any documentation local attribute afoo documentation local attribute abar documentation list type documentation local attribute abaz documentation anyAttribute documentation global element documentation global attribute documentation EOI $* test.xsd >>EOO primary { namespace test { list list http://www.w3.org/2001/XMLSchema#string union union http://www.w3.org/2001/XMLSchema#int http://www.w3.org/2001/XMLSchema#string enumeration enum: http://www.w3.org/2001/XMLSchema#string { enumerator male enumerator female } complex type { element efoo element ebar element ebaz any 'any #0' optional attribute afoo http://www.w3.org/2001/XMLSchema#string optional attribute abar { list http://www.w3.org/2001/XMLSchema#string } optional attribute abaz http://www.w3.org/2001/XMLSchema#string any-attribute 'any-attribute #0' [1, 1] sequence { [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string [1, 1] element ebar { complex { element efoo optional attribute afoo http://www.w3.org/2001/XMLSchema#string [1, 1] sequence { [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string } } } [1, 1] element ebaz http://www.w3.org/2001/XMLSchema#string [1, 1] any 'any #0' } } element ebaz http://www.w3.org/2001/XMLSchema#string attribute abaz http://www.w3.org/2001/XMLSchema#string } } EOO } : refs : { cat <=refs.xsd; group element efoo documentation global element ebar documentation group attribute afoo documentation global attribute abar documentation global attribute abaz documentation EOI $* refs.xsd >>EOO primary { namespace test { complex type { element ebar element efoo element ebar optional attribute abar http://www.w3.org/2001/XMLSchema#string optional attribute afoo http://www.w3.org/2001/XMLSchema#string optional attribute abaz http://www.w3.org/2001/XMLSchema#string [1, 1] sequence { [1, 1] element ebar http://www.w3.org/2001/XMLSchema#string [1, 1] choice { [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string [1, 1] element ebar http://www.w3.org/2001/XMLSchema#string } } } element ebar http://www.w3.org/2001/XMLSchema#string attribute abar http://www.w3.org/2001/XMLSchema#string attribute abaz http://www.w3.org/2001/XMLSchema#string } } EOO }