atom feed23 messages in org.oasis-open.lists.relax-ng-comment[relax-ng-comment] recursive inlusion
FromSent OnAttachments
Daniel PragerSep 26, 2002 7:48 pm 
Michael FitzgeraldSep 27, 2002 10:34 am 
Michael FitzgeraldSep 27, 2002 5:02 pm 
Michael FitzgeraldSep 28, 2002 11:31 pm 
Daniel PragerSep 29, 2002 6:41 pm 
Eddie RobertssonSep 29, 2002 7:16 pm 
Daniel PragerSep 29, 2002 8:37 pm 
Rick JelliffeSep 29, 2002 9:11 pm 
Daniel PragerSep 29, 2002 9:41 pm 
Rick JelliffeSep 30, 2002 2:04 am 
Yonekura KojiSep 30, 2002 3:28 am 
Robert KobergOct 7, 2002 11:05 am 
didier demanyOct 8, 2002 1:35 am 
Robert KobergOct 8, 2002 1:45 am 
Robert KobergOct 8, 2002 1:48 am 
Kohsuke KAWAGUCHIOct 8, 2002 6:32 am 
Robert KobergOct 9, 2002 11:50 am 
MURATA Makoto (FAMILY Given)Oct 9, 2002 5:26 pm 
Eddie RobertssonOct 14, 2002 4:24 pm 
Robert KobergDec 3, 2002 6:52 am 
Michael FitzgeraldDec 3, 2002 8:43 am 
James ClarkDec 3, 2002 8:57 pm 
Robert KobergDec 4, 2002 3:09 am 
Subject:[relax-ng-comment] recursive inlusion
From:Robert Koberg (ro@livestoryboard.com)
Date:Oct 7, 2002 11:05:16 am
List:org.oasis-open.lists.relax-ng-comment

Hi,

I am having trouble figuring out how to handle a problem I have with recursive inclusion. I want to be able to validate:

<abc>This is a <strong><em>sentence</em></strong>.</abc>

I have broken up all of my elements into individual .rng files to ease my writing of a schema editor. I want to make it easy for a user to modify their schema in small chunks.

When I try the two below I get a recursive inclusion error. Is it a bad strategy to break all the elements up like this? Is there a valid way to handle this while still using externalRef's?

------------------------------------ strong.rng

<grammar> <start> <choice> <notAllowed/> <element name="strong"> <oneOrMore> <choice> <text/> <externalRef href="em.rng"/> </choice> </oneOrMore> </element> </choice> </start> </grammar>

------------------------------------ em.rng

<grammar> <start> <choice> <notAllowed/> <element name="em"> <oneOrMore> <choice> <text/> <externalRef href="strong.rng"/> </choice> </oneOrMore> </element> </choice> </start> </grammar>

thanks, -Rob