[x3d-public] Extrusions, take 3

Don Brutzman brutzman at nps.edu
Wed Jan 27 18:16:54 PST 2016


I used X3D validator to look at a pretty-printed version of your source.

Helpful, hadn't thought of that before... saved a download and locally running content.  Thus a more secure way to test as well.

On 1/27/2016 9:08 AM, doug sanden wrote:
>
>> Doing it with a transform hierarchy on a regular cylinder sounds awkward.
>> I would need a clever little script for that.
> http://dug9.users.sourceforge.net/web3d/tests/sensors/x3dconnector.x3d
> - no spline -uses transforms and clever script- connects 2 dragsensor spheres with a cylinder

https://savage.nps.edu/X3dValidator?url=http://dug9.users.sourceforge.net/web3d/tests/sensors/x3dconnector.x3d

then click _Validate_ to see the results.

The following errors and warnings are helpfully provided:

=========================================================
Performing DOCTYPE reference check...
[X3dDoctypeChecker] success: valid XML declaration found;

[Error] failure: no X3D DOCTYPE found!
<?xml version="1.0" encoding="UTF-8"?>
<!--
The test is to make sure the sensor 'closest' to the geometry node
in the scenegraph tree is used for dragging, where closest means either
sibling, or the one closest going up the parent stack.
- click and drag in the overlaps - the one on top and children should be dragged.
freewrl seems to work normally.
if the picking stacks are changed, this is a good test.
-->

Error(s) detected during this validation test.
DOCTYPE reference check: fail.

Performing X3D DTD validation check (X3D DTD documentation) ...
Error type: Error
SAXParseException:
Document root element "X3D", must match DOCTYPE root "null".
Error type: Error
SAXParseException:
Document is invalid: no grammar found.
Error(s) detected during this validation test.
X3D DTD validation check: fail.

Performing X3D schema validation check (X3D schema documentation) ...
Error type: Error
SAXParseException:
cvc-elt.1: Cannot find the declaration of element 'X3D'.
Error(s) detected during this validation test.
X3D schema validation check: fail.

Performing X3dToClassicVrml.xslt conversion check (Quality Assurance (QA) overview) ...
X3dToClassicVrml.xslt conversion check: pass.

Performing integer/float regular expression (regex) check...
integer/float regular expression (regex) check: pass.

Performing X3D Schematron check...
<X3D profile=''> doesn't match contained nodes, increase profile or add needed <X3D><head><component> statements [/X3D, error]
<X3D profile=''> has unrecognized value, actual profile='Immersive' [/X3D, info]
X3D root element must include version number. [/X3D, error]
X3D version must be 3.0, 3.1, 3.2, 3.3 or 4.0 [/X3D, error]
<Viewpoint DEF=''/> is missing description.  Example: description='touch to activate' [/X3D/Scene/Viewpoint, warning]
<Viewpoint DEF=''/> is missing description, which is needed for usability.  Example: description='default view, rotate to examine object' [/X3D/Scene/Viewpoint, warning]
<Viewpoint DEF=''/> requires at least <component name='Navigation' level='1'/> or <X3D profile='Interchange'/> [/X3D/Scene/Viewpoint, error]
<PlaneSensor DEF='PS1'/> is missing description.  Example: description='touch to activate' [/X3D/Scene/Transform[1]/PlaneSensor, warning]
<PlaneSensor DEF='PS2'/> is missing description.  Example: description='touch to activate' [/X3D/Scene/Transform[2]/PlaneSensor, warning]
<Script DEF='S1'/> requires at least <component name='Scripting' level='1'/> or <X3D profile='Immersive'/> [/X3D/Scene/Script, error]
Error(s) detected during this validation test.
X3D Schematron check: fail.

Performing X3D to XHTML pretty-print listing check (Quality Assurance (QA) overview) ...
Conversion complete, documentation appears below.

Authoring hints:  Select url links to check the availability of online addresses.  Comments are inserted with local links to document ROUTE connections.  Node tooltips are also provided.
=========================================================

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