Re: Access to Schema API information

On 22 May 2012 10:23, Michael Kay wrote:

  Hi,

> For example, there's no direct way to determine the members of a
> substitution group other that searching all element declarations to
> see if they belong. Saxon has this information internally, but the
> SCM properties don't expose it [...]

> I could extend the model to expose additional properties of objects,
> but that's starting to depart from being a completely
> standards-based interface.

  In that case, it seems reasonable to me to introduce a function in
the API to get the members of a substitution group.  Saxon can
implement it by using more internal infos it maintains, whilst others
might have to implement it more naively.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

Received on Tuesday, 22 May 2012 09:08:14 UTC