W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2004

xml:lang inherited from root doc?

From: Robert Barkan <rhb@cisco.com>
Date: Wed, 24 Mar 2004 11:48:29 -0500
Message-Id: <>
To: www-voice@w3.org

Is the <vxml> attribute "xml:lang" inherited from a root document?  My guess would be yes, but the spec is a little vague on this.

In support:
A. Section 1.5.1 "Execution within One Document" says: 
"Language information is inherited down the document hierarchy: the value of "xml:lang" is inherited by elements which also define the "xml:lang" attribute, such as <grammar> and <prompt>, unless these elements specify an alternative value.".
So if a root document is part of a "document hierarchy", then this would confirm that xml:lang is inherited.

B. Section 1.5.1 is appropriately named "Execution within *One* Document", and xml:lang is not mentioned in S1.5.2 "Executing a *Multi-Document* Application".
C. The term "document hierarchy" is never defined explicitly.  It could be interpreted as hierarchy within just the document level on down, and not the application or session levels.  The word "hierarchy" is used in a few different contexts (eg: by itself, "document hierarchy", "scope hierarchy", etc) suggesting that a "<level-qualified> hierarchy" is different than the global hierarchy.
D. Section 1.5.2 "Executing a Multi-Document Application" only specifies inheritance for the following root document constructs:
	<property> elements
xml:lang is not included here.


Also, same question for the <vxml> attribute "xml:base".

Thanks in advance,
Received on Wednesday, 24 March 2004 17:07:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:37 UTC