DR 10-0029 ? VML, Main: unqualified div elements in v:textbox elements

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Sun Sep 5 13:47:30 CEST 2010


> Given that VML is a legacy technology it seems logical that the schema is modified 
>to match the old Ecma-376 schema (changes necessary to the XSD to
>effect this are attached). 

This is not great, since unqualified elements are used to represent
XHTML fragments.  But I can live with it, since VML is for legacy.

>However... I believe that the reason this was
>changed originally was because such documents could not be represented
>in the RNG schema. 

RELAX NG can certainly do it.

In the beginnin, we need a namespace declaration.

namespace local = ""

Then, 
v_CT_Textbox =
  v_AG_Id,
  v_AG_Style,
  attribute inset { xsd:string }?,
  o_singleclick?,
  o_insetmode?,
  (w_txbxContent? | v_anyLocal)
v_anyLocal = 
  element local:* {
    attribute * { text }*,
    mixed { v_anyLocal* }
  }



Cheers,
Makoto


More information about the sc34wg4 mailing list