- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 19 Feb 2008 12:01:00 +0000
- To: www-xml-schema-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5003 ------- Comment #24 from petexmldev@codalogic.com 2008-02-19 12:01 ------- (In reply to comment #22) > ...it might be set either by the user invoking the validation with > $language=de, or it might be set by the appearance of xml:lang="de" on some > containing element. I sense this is being put on the back burner, so I'm just dumping this here as a place to store the idea (just in case what's suggested isn't implicit to you guys from what has been mentioned). Merging Noah's comment #6 proposal and this from Michael Kay might lend itself to a syntax along the lines of: <xs:attribute ref='xml:lang' validationParameterName='$language'/> This would instruct the processor to put the value of xml:lang into some kind of dictionary (possibly analogous to the ID/IDREF dictionary) such that descendants could access the value by using $language in assertions. Naturally this does suffer all the problems of descendent validation being context dependent.
Received on Tuesday, 19 February 2008 12:01:14 UTC