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] Limitation in the compact syntax


While trying to translate Makoto's ooRelaxNG examples into the
compact syntax, I bumped up against a problem: once inside an
annotation, you can only use annotation syntax.  This doesn't work
well for things like ooRelaxNG, where the os:class element can contain
snippets of RELAX NG.

I propose therefore an extension to the compact syntax.  For:

annotationElement ::= 
	name "[" annotationAttribute* (annotationElement | literal)* "]"

read:

annotationElement ::= 
	name "[" annotationAttribute*
			(annotationElement | literal | "{" pattern* "}")* "]"

This would permit embedded compact syntax within {} brackets.

-- 
John Cowan <jcowan@reutershealth.com>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_


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


Powered by eList eXpress LLC