W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2010

RE: Implementing the DOM3 Val Spec in Javascript, problem with UPA and creating PSVI.

From: Michael Kay <mike@saxonica.com>
Date: Mon, 3 May 2010 12:14:42 +0100
To: "'Casey Jordan'" <casey.jordan@jorsek.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <12C9FBDDBDAF4D3191CBD0881FAFEF1C@Sealion>

 > My question revolves around creating a PSVI from instances like this.
Lets look at the following example based off this schema with possible
insertions noted in [element_name]. 
I think you are using the term "PSVI" rather loosely. The properties you are
worrying about are defined in the DOM3 spec, but as far as I can tell they
are not part of the PSVI. It's not clear to me that there is anyone on this
list who understands the DOM3 spec well enough to answer your questions: I
certainly don't! 
The only relevant properties in the PSVI for an element information item are
[element declaration] and [type definition]. Despite the fact that the UPA
constraint requires unique attribution of a particle, the PSVI doesn't even
give you a link from the element instance to the particle - only to the
element declaration referenced by the particle. DOM3 appears to want far
more than this.

Michael Kay

Received on Monday, 3 May 2010 11:15:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:17 UTC