Dear friends of the XML schema, Today I have a question about wildcards in conjunction with namespace "##targetNamespace" and import. Let's think about the following constellation: - Schema A (targetNamespace="ANS") imports Schema B (targetNamespace="BNS"). - There exists a global attributeGroup "ag" within B, which has the following member: <xs:anyAttribute namespace="##targetNamespace" processContents = "lax"> - Within A there is a attributeGroup reference to "ag". Now here is my question: Must the attribute definiton in the xml instance document reside in namespace "ANS" or "BNS" ? Reading the spec it is not 100% clear to me, the spec (http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Wildcards) says: 1 if one such substring is ##targetNamespace, the corresponding member is the .actual value. of the targetNamespace [attribute] of the <schema> ancestor element information item if present, otherwise .absent.. In case of importing schema files, is this from the importing or imported schema point of view ? Your help is appreciated, Best regards, Peter Peter Kriegesmann Phone 06151-921484 Electronic Business Technologies (QE) Fax 06151-921612 Software AG http://www.softwareag.com Uhlandstrasse 12 D-64297 Darmstadt mailto:Peter.Kriegesmann@softwareag.comReceived on Monday, 14 April 2003 04:46:33 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:44 GMT