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: Re: Modularization

> The only workaround I found is
> <element name="topLevel">
>   <grammar>
>     <include href="relaxCore.trex" />
>     <start combine="replace">
>       <ref name="ref.label" />
>     </start>
>   </grammar>
> </element>

That is the intended solution to the problem.

> Which is quite a lot of typing (at least for me).

I suppose it wouldn't be hard to add a shortcut:

<element name="topLevel">
  <include href="relaxCore.trex" start="ref.label"/>

> I believe this also
> slows down grammar parsing because validator has to read relaxCore.trex
> every time I use <include> pattern.

It is easy for a parser to avoid rereading for an include at the pattern
level.  It's a bit harder for a grammar level include.

> Is this worth raising as an issue?

I guess so.


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

Powered by eList eXpress LLC