
Hmm, weird. Looks like various tutorials are out-of-date, including zvon: http://www.zvon.org/xxl/XMLSchemaTutorial/Output/ser_include_st7.html Can you show how the correctRelax_1.rng on that zvon page should be written? --Paul On Sep 7, 2004, at 9:54 AM, George Cristian Bina wrote:
Hi Paul,
According with the Relax NG specification: <quote src="http://www.oasis-open.org/committees/relax-ng/spec -20011203.html#IDASNZ R"> A grammar must have a start child element. </quote>
Oxygen uses Jing (2003-06-19) for Relax NG validation support.
Best Regards, George ------------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message ----- From: "Paul Everitt" <paul@zope-europe.org> To: <oxygen-user@oxygenxml.com> Sent: Tuesday, September 07, 2004 10:18 AM Subject: [oXygen-user] Validating merged grammars
Hi. The first example in the Relax-NG tutorial under 9.3 "Merging Grammars" looks like this:
<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> <define name="inline"> <zeroOrMore> <ref name="inline.class"/> </zeroOrMore> </define> <define name="inline.class"> <choice> <text/> <element name="bold"> <ref name="inline"/> </element> <element name="italic"> <ref name="inline"/> </element> </choice> </define> </grammar>
However, <oxygen/> fails to validate, claiming it requires a <start> element.
--Paul
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user