Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] NVDL: A Disruptive Technology

From: "bryan rasmussen" <rasmussen.bryan@-----.--->
To: "XML Developers List" <xml-dev@-----.---.--->
Date: 5/13/2008 10:32:00 AM
Since XML Schema can also be used to define rules for XML instances
without a target Namespace I don't think it follows that XSD defines
rules for namespaces, it would be sort of silly to think that a schema
without a target namespace was defining the full allowable grammar of
the empty namespace.

Cheers,
Bryan Rasmussen


On Tue, May 13, 2008 at 10:34 AM, Michael Kay <mike@s...> wrote:
> > > An XML schema defines rules for a class of XML documents.
>  > >
>  > Under that definition, doesn't XSD fail?   It defines rules for a
>  > namespace not a class of documents.
>
>  Well, I wasn't intending it as a rigorous definition, but I think it's
>  defensible.
>
>  I don't know why you think XSD defines rules for a namespace. A (XSD) schema
>  defines rules for a set of named elements and attributes. In the concrete
>  syntax the rules are organized by namespace, but they aren't confined to a
>  single namespace.
>
>  It's true that XSD (intentionally) doesn't treat the document as the primary
>  unit of validation. But it still describes rules for a class of documents,
>  namely those rooted at one of the elements defined in the schema.
>
>  Anyway, I wasn't really talking about XSD or about any schema language in
>  particular. I was just arguing against the thesis that variety is good; in
>  my view it is a necessary evil caused by the inadequacies of the currently
>  available languages, starting with DTDs.
>
>  Michael Kay
>
>
>
>
>
>  _______________________________________________________________________
>
>  XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>  to support XML implementation and development. To minimize
>  spam in the archives, you must subscribe before posting.
>
>  [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>  Or unsubscribe: xml-dev-unsubscribe@l...
>  subscribe: xml-dev-subscribe@l...
>  List archive: http://lists.xml.org/archives/xml-dev/
>  List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent