Rini Angreani created GEOT-4022:
-----------------------------------
Summary: gml:CompositeValueType in GMLSchema 3.1 has missing
element
Key: GEOT-4022
URL: https://jira.codehaus.org/browse/GEOT-4022
Project: GeoTools
Issue Type: Bug
Components: xsd-gml
Affects Versions: 8.0-M4
Reporter: Rini Angreani
Fix For: 8.0-RC1
It appears that CompositeValueType in GMLSchema v3.1 has gml:valueComponent
commented out in its source before code generation.
I think this was to avoid circular reference, because VALUEPROPERTYTYPE_TYPE
also makes reference to CompositeValueType.
However, the definition looks correct for GMLSchema in v3.2 package.
/**
* <p>
* <pre>
* <code>
* <complexType name="CompositeValueType">
* <annotation>
* <documentation>Aggregate value built from other Values
using the Composite pattern. It contains zero or an arbitrary number of
valueComponent elements, and zero or one valueComponents elements. It may be
used for strongly coupled aggregates (vectors, tensors) or for arbitrary
collections of values.</documentation>
* </annotation>
* <complexContent>
* <extension base="gml:AbstractGMLType">
* <sequence>
* <!--element ref="gml:valueComponent" minOccurs="0"
maxOccurs="unbounded"/>
* <element
ref="gml:valueComponents" minOccurs="0"/-->
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final ComplexType COMPOSITEVALUETYPE_TYPE =
build_COMPOSITEVALUETYPE_TYPE();
private static ComplexType build_COMPOSITEVALUETYPE_TYPE() {
ComplexType builtType;
builtType = new ComplexTypeImpl(
new NameImpl("http://www.opengis.net/gml","CompositeValueType"),
Collections.<PropertyDescriptor>emptyList(), false,
false, Collections.<Filter>emptyList(), ABSTRACTGMLTYPE_TYPE, null
);
return builtType;
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel