Hi Dave, On Nov 15, 2005, at 19:27, Dave Pawson wrote: > With input > <div> > <define name="db.para.blocks"> > <a:documentation>para reductions. db.anchor, > db.simpara</a:documentation> > <choice> > <ref name="db.para"/> > <ref name="db.formalpara"/> > </choice> > </define> > </div> > > relames reports > element "div" is not allowed here
Is div the root of your document, or is it contained in something else? The div element can definitely contain define, but it's not allowed as the content of any element (at least, not that I can tell from the spec, though maybe it should be). > If I add the namespace > namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" > > to the definition, and put the 'div' into that namespace, > relames is happy. It's probably happy about you putting something in any namespace that isn't the RelaxNG namespace. -- Robin Berjon Senior Research Scientist Expway, http://expway.com/ ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/2U_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rng-users/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
