[Home] [By Thread] [By Date] [Recent Entries]

  • From: ht@i... (Henry S. Thompson)
  • To: "bryan rasmussen" <rasmussen.bryan@g...>
  • 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@i...
                   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-----


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member