[dsdl-discuss] Suggestion for RELAX NG tutorials

From: Jirka Kosek <jirka@kosek.cz>
Date: Tue Mar 01 2005 - 13:21:47 UTC

Hi,

I struggled with mixed pattern for a while. See
http://relaxng.org/pipermail/relaxng-user/2005-March/000678.html

I think that we can save other people from this issue if the tutorial
will state at the end of section 8 that:

<mixed> p </mixed>

is short for

<interleave> <text/> <group> p </group> </interleave>

or if there will be example of mixed content model with more then one
element.

I think that there is no need to change specification as rule 4.12 of
simplification cleary states that group element is added for mixed
pattern with more than two childs. But it is easy to oversight this
important rule if you read just tutorial.

                                Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Tue Mar 1 14:22:00 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2005 - 18:38:01 UTC