Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Component representation of xs:group ref="x"

From: noah_mendelsohn@--.---.---
To: "Michael Kay" <mike@--------.--->
Date: 11/4/2004 10:30:00 AM
Michael Kay writes:

>> In fact, the model group definition itself 
>> seems to be completely redundant as a schema 
>> component, because there is nothing that
>> refers to it.

I'll leave it to Henry or others to deal with other aspects of your query, =

but on a few points I think I can help. 

I believe that the MGD is an unusual component in that, as you note, it is =

not typically referenced by other components.  That does not mean it's 
completely redundant however.  It exists as a potential referent of a 
<group ref=" "/>.  So, you would be correct in saying that MGD is 
redundant in situations in which you can be sure that either no schema 
documents are to be employed, or in which all such schema documents have 
already been converted to components per the mapping rules. 

>> Neither 3.9.2, which discusses particles, 
>> nor 3.8.2, which discusses model groups, 
>> seems to explain how the <xs:group ref=""> 
>> representation is translated into schema 
>> components. In fact, 3.9.2 seems to point 
>> you to 3.8.2, and 3.8.2 doesn't acknowledge 
>> the existence of named groups at all.

Right, but I believe that 3.7.2 which discusses named model groups does 
[1]:

Note that in the mapping of <group ref="..."/>, the {term} in 3.7.2 is:

        {term}  The {model group} of the model 
                  group definition =B7resolved=B7 to 
                  by the =B7actual value=B7 of the 
                  ref [attribute]


So the MGD is not redundant in any situation where you will appeal to the 
above mapping. 

Noah

[1] 
http://www.w3.org/TR/2004/PER-xmlschema-1-20040318/#declare-namedModelGroup


--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------





From sandro@m... Thu Nov 04 21:41:28 2004
Received: from lisa.w3.org ([128.30.52.41])
	


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent