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

From
James Clark <>
Date
2002-02-13T05:39:29+00:00
ID
01f401c1b450$619b0fe0$
Thread
Re: [relax-ng] Re: DOM Level 3 AS
> 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.

I think one could make an abstract enough interface for schema-guided
document editing, e.g.

- is this element valid here?
- what elements can be inserted here?

DOM Level 3 AS has this:

http://www.w3.org/TR/DOM-Level-3-ASLS/abstract-schemas.html#DocumentEditing

but some parts look rather non-general.

For editing a schema I think it's very hard to abstract away the details of
the schema language.  I don't think DOM Level 3 is very successful at this.
For example, it completely throws away DTD parameter entities.

James