W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Documentation on refs to global elements

From: Mark Feblowitz <mfeblowitz@frictionless.com>
Date: Tue, 17 Sep 2002 09:51:18 -0400
Message-ID: <4DBDB4044ABED31183C000508BA0E97F040ABFBF@fcpostal.frictionless.com>
To: "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>

Is it legal for a ref to a global element to have annotations? Can those
annotations differ from the annotations on the global element definition?

It makes sense that a particular binding of a global element into a context
may need special documentation. The question arises when an IDE must
determine which annotation(s) to display with a ref to a global element -
the annotations on the global element definition, the annotations on a local
element, or both. XML Spy displays only the annotation on the global
element, and doesn't provide a means of annotating the local binding. I can,
however, enter an annotation in text view and it validates, at least in Spy.


What should the correct behavior be?

Mark


Mark Feblowitz                                   	
XML Architect
       [t]   617.715.7231                                     	
       [f]   617.495.0188
Frictionless Commerce Incorporated 	
       [e]  mfeblowitz@frictionless.com <mailto:mfeblowitz@frictionless.com>

       [w] http://www.frictionless.com <http://www.frictionless.com> 
       [m] 400 Technology Square, 9th Floor
             Cambridge, MA 02139 
Open Applications Group Incorporated
       [e]  mfeblowitz@openapplications.org
<mailto:mfeblowitz@openapplications.org> 
       [w] http://www.openapplications.org <http://www.openapplications.org>
Received on Tuesday, 17 September 2002 09:51:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT