DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16973>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16973

Namespace URI and local name of attributeGroup are not set





------- Additional Comments From [EMAIL PROTECTED]  2003-02-11 21:32 -------
In GML, attaching a certain attributeGroup to an element definition indicates 
that the value of that element can be remote. However, these attributes are not 
purely symbolic. They actually carry the remote address of the value, so 
annotations could not be used as a replacement for this mechanism.
I know that an attribute group is just a placeholder for attributes, but why 
couldn't the name of the attribute group referenced from a complex type be 
preserved?

I don't quite understand what you mean by "complex types don't contain 
attribute groups". Complex types can reference attribute groups. A reference 
uses the qualified name of the attribute group. It is this qualified name that 
is not preserved (or so is my impression). Consider the following attribute 
group AssociationAttributeGroup, which is used in the type AssociationType. How 
can I find out that AssociationType references AssociationAttributeGroup other 
than trying to match the attribute members?

<attributeGroup name="AssociationAttributeGroup">
  <attributeGroup ref="xlink:simpleLink"/>
  <attribute ref="gml:remoteSchema" use="optional"/>
</attributeGroup>

<complexType name="AssociationType">
  <sequence>
    <element ref="gml:_Object" minOccurs="0"/>
  </sequence>
  <attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to