Dear,
at this URL : http://www.jtc1sc34.org/repository/0694.pdf
----
In 6.2, Full syntax
xmlAttribute =
attribute xml:lang {text}
| attribute xml:space {"default" | "preserve"}
| attribute xml:base {anyURI}
should be read
xmlAttribute =
attribute xml:lang {text}
| attribute xml:space {"default" | "preserve"}
| attribute xml:base {**xsd:**anyURI}
The problem is the same in Annex A where
<define name="xmlAttribute">
<choice>
<attribute name="xml:lang"/>
<attribute name="xml:space">
<choice>
<value>default</value>
<value>preserve</value>
</choice>
</attribute>
<attribute name="xml:base">
<ref name="anyURI"/>
</attribute>
</choice>
</define>
should be read
<attribute name="xml:base">
<data type="anyURI"/>
</attribute>
-----
In 6.3, Simple syntax
There is an error in the model
message = element message {text & attribute xml:lang {text}}
implied that xml:lang attribute is mandatory
It should become optional to be in accordance with 6.4.2 Annotations
message = element message {attribute xml:lang {text}?, text }
Same problem in Annex B where
<define name="message">
<element name="message">
<interleave>
<text/>
<attribute name="xml:lang"/>
</interleave>
</element>
</define>
which should become
<define name="message">
<element name="message">
<optional>
<attribute name="xml:lang"/>
</optional>
<text/>
</element>
</define>
And in Annex C.2 where
<define name="message">
<choice>
<attribute name="message"/>
<element name="message">
<interleave>
<text/>
<attribute name="xml:lang"/>
</interleave>
</element>
</choice>
</define>
should become
<define name="message">
<choice>
<attribute name="message"/>
<element name="message">
<optional>
<attribute name="xml:lang"/>
</optional>
<text/>
</element>
</choice>
</define>
-----
In 7.3 Page 23 (17)
<{http://www.w3.org/2002/06/xhtml2}html [cx1]>
<{http://www.w3.org/2002/06/xhtml2}head [cx1]>
<{http://www.w3.org/2002/06/xhtml2 [cx1]}title $asn1>XHTML 2.0
containing XForms</>
should be read
<{http://www.w3.org/2002/06/xhtml2}html [cx1]>
<{http://www.w3.org/2002/06/xhtml2}head [cx1]>
<{http://www.w3.org/2002/06/xhtml2}title* [cx1]* $asn1>XHTML
2.0 containing XForms</>
--------
In 7.3 Page 23 (17)
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="html head
title body p"/>
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="switch"/>
This sample raise for me some troubles
I would have rather seen one of the following modes
1/ The full mode which present all the element
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="html head
title body p"/>
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="switch case"/>
2/ The minimal mode
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="html p"/>
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="switch"/>
3/ The expanded minimal mode
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="html"/>
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="p"/>
<trigger ns="http://www.w3.org/2002/06/xhtml2" nameList="switch"/>
--------
[Wellformedness] In Annex A, B and C.2
<define name="mediaType">
<data type="string">
<param name="pattern">\s*[0-9A-Za-z!#$%&'\*\+\-\.\^_`\{\|\}~]*\\[0-9A-Za-z!#$%&'\*\+\-\.\^_`\{\|\}~]*\s*</param>
</data>
</define>
The & are not escaped as &
------
Why the script given in C.3 NVDL script is not in Simple Syntax ?
--
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €
--
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 Sun Dec 10 20:40:30 2006
This archive was generated by hypermail 2.1.8 : Tue Dec 12 2006 - 03:53:05 UTC