xml:lang inherited from root doc?

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.

Against:
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:
	variables
	<property> elements
	<script>
	<catch>
	Grammars
xml:lang is not included here.

---

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

Thanks in advance,
-Rob 

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