[dsdl-discuss] Re: Small typos and questions in NVDL

From: MURATA Makoto <murata@hokkaido.email.ne.jp>
Date: Tue Dec 12 2006 - 02:49:02 UTC

Dear Innovimax,

Thank you very much for your thorough review and comments. The latest
version is available at:

http://standards.iso.org/ittf/PubliclyAvailableStandards/c038615_ISO_IEC_19757-4_2006(E).zip

I admit that some errata are still needed, however.

> 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}

This is fixed already.

> 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>

This is a bug.
 
> 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 }

This is a bug.

> 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>

This is a bug.

> 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>

This is a bug.

> 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</>

This is a bug.

> 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 do not quite understand your point. Are you saying that this
example is broken? Or, are you saying that this example can be
made more natural?

>
> [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 &amp;

I almost fixed this bug in the very final text, but not quite.
Now we have "&amp" rather than "&amp;". Will fix this.

> Why the script given in C.3 NVDL script is not in Simple Syntax ?

The reason is that Simple Syntax is harder to read.

Cheers,

-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>
--
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 Dec 12 04:48:21 2006

This archive was generated by hypermail 2.1.8 : Tue Dec 12 2006 - 21:13:05 UTC