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: John Cowan's regex for RNG proposal, version 0.3



Is there any way to layer this regex on top of RELAX NG? It seems to me
that this is too complicated for tools like RelaxNGCC.

I thought maybe we can extend <param> or <data> pattern to accept XML,
not just PCDATA. Then this regular expression can be just another
datatype library.


For example,

<data type="regexp">
  <param name="start">
    <r:zeroOrMore>
      <r:ref name="digit"/>
    </r:zeroOrMore>
    <r:value>cm</r:value>
  </param>
  <param name="digit">
    <r:charSet>0-9</r:charSet>
  </param>
</data>

regards,
--
Kohsuke KAWAGUCHI
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