[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Requirements on validation: (1) combine schemas, (2) divide a document into pieces and validate each piece, (3) use different schema languages, (4) validators work together
- From: ht@inf.ed.ac.uk (Henry S. Thompson)
- To: "bryan rasmussen" <rasmussen.bryan@gmail.com>
- Date: Wed, 30 Apr 2008 10:23:50 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bryan rasmussen writes:
> IIRC XSV doesn't require a document element in the target namespace
> of the schema.
You do recall correctly.
> Thus if your schema imports other schemas with other target
> namespaces validation will start when an element in one of those
> target namespaces is reached even if the top level element of your
> document is in a namespace that you are not validating.
Precisely.
> Personally I have never considered this to be a feature and there
> are a lot of people who complain about it, but looking at it from
> the way you describe it certainly could be seen as a check mark on
> your requirements.
I have found this very useful on occasion. As well as supporting
incremental development/debugging of compound documents, it also
allows you to write schemas which only address particular parts of a
document for particular purposes, ignoring the rest.
ht
- --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFIGDqokjnJixAXWBoRApqoAJ9tJmeBzVsNr1A/nH0oxfj0ricVEACeJw4I
Iu4wMtJQV6hgN68n8Fnhmvg=
=P5mz
-----END PGP SIGNATURE-----
- References:
- Requirements on validation: (1) combine schemas, (2) divide a document into pieces and validate each piece, (3) use different schema languages, (4) validators work together
- From: "Costello, Roger L." <costello@mitre.org>
- Re: [xml-dev] Requirements on validation: (1) combine schemas, (2) divide adocument into pieces and validate each piece, (3) use different schemalanguages, (4) validators work together
- From: noah_mendelsohn@us.ibm.com
- Re: [xml-dev] Requirements on validation: (1) combine schemas, (2) divide a document into pieces and validate each piece, (3) use different schema languages, (4) validators work together
- From: "bryan rasmussen" <rasmussen.bryan@gmail.com>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]