[relaxng-user] content-type for list

MURATA Makoto EB2M-MRT at asahi-net.or.jp
Wed Dec 10 00:32:06 ICT 2003


On Tue, 9 Dec 2003 01:08:43 +0400 (AMT)
David Tolpin <dvd at davidashen.net> wrote:

> 
> list's content-type is unconditionally set to simple(). Shouldn't it depend on
> the presence of a content-type for the list's child pattern?

Note that "This rule does not apply to patterns occurring within a list pattern.".
In fact, 

<list><group><data type="NCName"/><data type="NCName"/></group></list>

is perfectly fine.

Cheers,

-- 
MURATA Makoto <eb2m-mrt at asahi-net.or.jp>



More information about the relaxng-user mailing list