[x3d-public] USE before DEF error

Don Brutzman brutzman at nps.edu
Sun Feb 28 11:51:45 PST 2016


Thanks for this helpful bug report John.

The offending USE nodes have been removed - they were superfluous.

Changes checked into subversion, updates will be uploaded during the work week.


On 2/26/2016 12:25 PM, John Carlson wrote:
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN"
>
> "http://www.web3d.org/specifications/x3d-3.2.dtd">
>
> <X3D
>
> profile="Immersive"
>
> version="3.2"
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
>
> xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.2.xsd">
>
> In: examples//Savage/Locations/TunisAirportTunisia/tiles/4/airport9-9.x3d and probably 1280 other files:
>
>
> USE before DEF (caught with Schematron).  See included file.  Similar files attached in locations.txt.
>
>
> John
>
> <head>
>
> <component name="Geospatial" level="1"/>
>
> <component name="Navigation" level="3"/>
>
> </head>
>
> <Scene>
>
> <Shape>
>
> <Appearance>
>
> <Material diffuseColor="0.4 0.6 0.3" emissiveColor="0 0.05 0"/>
>
> <ImageTexture url="../../images/4/airport9-9.jpg" repeatS='false' repeatT='false'/>
>
> </Appearance>
>
> <GeoElevationGrid  colorPerVertex='false' creaseAngle='0'
>
> geoGridOrigin ="36.85513219202932 10.232348121815342 0.0"
>
> yScale ="1.0" geoSystem='"GD"' normalPerVertex='false'
>
> solid='true'
>
> xDimension='6'  xSpacing='5.0112436E-4'
>
> zDimension='7'  zSpacing='4.6822225E-4'
>
>
>   height='
>
>   2 1 1 1 1 1
>
>   2 2 1 1 -1 1
>
>   3 3 2 1 1 1
>
>   3 3 2 1 1 1
>
>   3 4 3 2 2 2
>
>   2 3 3 2 2 2
>
>   1 1 1 1 2 2'>
>
> <GeoOrigin USE="ORIGIN"/>
>
> <GeoOrigin DEF="ORIGIN"
>
> geoCoords="36.85232285848162 10.229842500002526 0"
>
> geoSystem="GDC"/>
>
> </GeoElevationGrid>
>
> </Shape>
>
> </Scene>
>
> </X3D>
>


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list