XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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

-----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-----


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS