[xsd-users] Problem linking with VS 2008

Boris Kolpackov boris at codesynthesis.com
Tue Feb 14 09:08:27 EST 2012


Hi Thomas,

Thomas Dobroth <dobroth at gmail.com> writes:

> The below modifications will not work. The w3.org namespace is not  
> opened as xs: in either KML or the Google extensions. It's opened as
> an "in use" namespace.

They will not work verbatim but the idea will work. That is, add:

<simpleType name="double">
  <restriction base="double"/>
</simpleType>

Then change all the elements in the form:

<element name="altitudeOffset" type="double"
    substitutionGroup="kml:AbstractGeometrySimpleExtensionGroup"/>

To:

<element name="altitudeOffset" type="gx:double"
    substitutionGroup="kml:AbstractGeometrySimpleExtensionGroup"/>

Also do the same for the float, boolean, and integer types.

Boris



More information about the xsd-users mailing list