OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

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


Subject: [relax-ng] Re: DOM Level 3 AS



(James Clark wrote:)
> No, I don't think they are.

I agree.


(Eric van der Vlist wrote:)
> If there are few blocking points, and if it hasn't been done yes, maybe 
> it could be worth to send them as comments to www-dom?

I would say trying to change AS to support RELAX NG will be a complete
rewrite of the spec. For example, they assume that every element
declaration has a name.


In my experience, if you want to be abstract enough, you cannot be more
concrete than the Acceptor model of MSV (com.sun.msv.verifier.Acceptor).
This is so abstract that it's pretty useless for anything but validation.
Yet this is not abstract enough to support Schematron.

One can try to abstract validation as a function of a document and a
schema:

function validation( schema, document ) : boolean

But this doesn't capture the infoset augmentation aspect of many schema
languages.


regards,
--
Kohsuke KAWAGUCHI                          +1 607 257 0037
Sun Microsystems                   kohsuke.kawaguchi@sun.com



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


Powered by eList eXpress LLC