<div class="gmail_extra">Hi all,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have used the X3D Validator and I have fixed some errors.</div><div class="gmail_extra">Know the touchnodesensor is working correctly.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">I'll keep working in the other issues and I'll tell you how I progress.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for your answers</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Best regards</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 April 2012 21:24, Don Brutzman <span dir="ltr"><<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I also used the X3D Validator to check your X3D scene.<br>
<a href="https://savage.nps.edu/X3dValidator" target="_blank">https://savage.nps.edu/X3dValidator</a><br>
<br>
It provided the following output:<br>
<br>
> --------- Commence validation checks for FurundarenaTouchSensorTest.x3d ---------<br>
><br>
> Performing DOCTYPE check...<br>
> [X3dDoctypeChecker] success: valid XML declaration found; success: final X3D 3.2 DOCTYPE found.<br>
> no action taken, functionality not implemented...<br>
><br>
> Performing well-formed XML check...<br>
> Checking file:/C:/Users/brutzman/Desktop/FurundarenaTouchSensorTest.x3d...<br>
> Well-formed XML check: pass<br>
><br>
> Performing DTD validation...<br>
> Checking file:/C:/Users/brutzman/Desktop/FurundarenaTouchSensorTest.x3d...<br>
> Attribute value "1-ClosureSurface-2-Desktop" of type ID must be an NCName when namespaces are enabled.<br>
> Attribute value "2-ClosureSurface-2-Desktop" of type ID must be an NCName when namespaces are enabled.<br>
> Attribute value "2-WallSurface-2-Desktop" of type ID must be an NCName when namespaces are enabled.<br>
> XML DTD validation: fail!<br>
><br>
> Performing X3D schema validation...<br>
> Checking file:/C:/Users/brutzman/Desktop/FurundarenaTouchSensorTest.x3d...<br>
> Referenced entity at "nbres:/org/web3d/x3d/externals/schemas/x3d-3.2-Web3dExtensionsPrivate.xsd".<br>
> Attribute value "1-ClosureSurface-2-Desktop" of type ID must be an NCName when namespaces are enabled.<br>
> cvc-datatype-valid.1.2.1: '1-ClosureSurface-2-Desktop' is not a valid value for 'NCName'.<br>
> cvc-attribute.3: The value '1-ClosureSurface-2-Desktop' of attribute 'DEF' on element 'Inline' is not valid with respect to its type, 'ID'.<br>
> Attribute value "2-ClosureSurface-2-Desktop" of type ID must be an NCName when namespaces are enabled.<br>
> cvc-datatype-valid.1.2.1: '2-ClosureSurface-2-Desktop' is not a valid value for 'NCName'.<br>
> cvc-attribute.3: The value '2-ClosureSurface-2-Desktop' of attribute 'DEF' on element 'Inline' is not valid with respect to its type, 'ID'.<br>
> Attribute value "2-WallSurface-2-Desktop" of type ID must be an NCName when namespaces are enabled.<br>
> cvc-datatype-valid.1.2.1: '2-WallSurface-2-Desktop' is not a valid value for 'NCName'.<br>
> cvc-attribute.3: The value '2-WallSurface-2-Desktop' of attribute 'DEF' on element 'Inline' is not valid with respect to its type, 'ID'.<br>
> XML schema validation: fail!<br>
><br>
> Performing X3dToClassicVrml.xslt conversion check...<br>
><br>
> Performing X3D regular expression (regex) values check...<br>
><br>
> Performing X3D Schematron check...<br>
> <Inline DEF='1-ClosureSurface-2-Desktop'/> url array address(es) missing online http/https references (url='1-ClosureSurface-2-Desktop.x3d') [/X3D/Scene/Group/Transform[1]/Inline, info]<br>
> <Inline DEF='1-ClosureSurface-2-Desktop'/> url string array needs to begin and end with "quote marks".  Corrected example: <Inline DEF='1-ClosureSurface-2-Desktop' url='"1-ClosureSurface-2-Desktop.x3d"'/> [/X3D/Scene/Group/Transform[1]/Inline, error]<br>

> <TouchSensor DEF='TouchSensor-1-ClosureSurface-2-Desktop'/> missing ROUTE to send output events [/X3D/Scene/Group/Transform[1]/TouchSensor, warning]<br>
> <TouchSensor DEF='TouchSensor-1-ClosureSurface-2-Desktop'/> missing description.  Example: description='touch to activate' [/X3D/Scene/Group/Transform[1]/TouchSensor, warning]<br>
> <Inline DEF='2-ClosureSurface-2-Desktop'/> url array address(es) missing online http/https references (url='2-ClosureSurface-2-Desktop.x3d') [/X3D/Scene/Group/Transform[2]/Inline, info]<br>
> <Inline DEF='2-ClosureSurface-2-Desktop'/> url string array needs to begin and end with "quote marks".  Corrected example: <Inline DEF='2-ClosureSurface-2-Desktop' url='"2-ClosureSurface-2-Desktop.x3d"'/> [/X3D/Scene/Group/Transform[2]/Inline, error]<br>

> <TouchSensor DEF='TouchSensor-2-ClosureSurface-2-Desktop'/> missing ROUTE to send output events [/X3D/Scene/Group/Transform[2]/TouchSensor, warning]<br>
> <TouchSensor DEF='TouchSensor-2-ClosureSurface-2-Desktop'/> missing description.  Example: description='touch to activate' [/X3D/Scene/Group/Transform[2]/TouchSensor, warning]<br>
> <Inline DEF='2-WallSurface-2-Desktop'/> url array address(es) missing online http/https references (url='2-WallSurface-2-Desktop.x3d') [/X3D/Scene/Group/Transform[3]/Inline, info]<br>
> <Inline DEF='2-WallSurface-2-Desktop'/> url string array needs to begin and end with "quote marks".  Corrected example: <Inline DEF='2-WallSurface-2-Desktop' url='"2-WallSurface-2-Desktop.x3d"'/> [/X3D/Scene/Group/Transform[3]/Inline, error]<br>

> <TouchSensor DEF='TouchSensor-2-WallSurface-2-Desktop'/> missing ROUTE to send output events [/X3D/Scene/Group/Transform[3]/TouchSensor, warning]<br>
> <TouchSensor DEF='TouchSensor-2-WallSurface-2-Desktop'/> missing description.  Example: description='touch to activate' [/X3D/Scene/Group/Transform[3]/TouchSensor, warning]<br>
><br>
> --------- Validation checks complete for FurundarenaTouchSensorTest.x3d ---------<br>
<br>
I recommend avoiding hyphens in your DEF name and cleaning up the other warnings as well.<br>
<br>
During the next X3D working group meeting we will compare the<br>
various restrictions on DEF names to (hopefully) confirm that<br>
they are consistent for our various encodings.<br>
<div class="HOEnZb"><div class="h5"><br>
all the best, Don<br>
--<br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   <a href="tel:%2B1.831.656.2149" value="+18316562149">+1.831.656.2149</a><br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Iñaki Prieto Furundarena</div><br>
</div>