[X3D-Public] Libraries for X3D

Iñaki Prieto Furundarena prieto.inaki at gmail.com
Mon Apr 23 23:43:18 PDT 2012


Hi all,

I have used the X3D Validator and I have fixed some errors.
Know the touchnodesensor is working correctly.

I'll keep working in the other issues and I'll tell you how I progress.

Thanks for your answers

Best regards



On 13 April 2012 21:24, Don Brutzman <brutzman at nps.edu> wrote:

> I also used the X3D Validator to check your X3D scene.
> https://savage.nps.edu/X3dValidator
>
> It provided the following output:
>
> > --------- Commence validation checks for FurundarenaTouchSensorTest.x3d
> ---------
> >
> > Performing DOCTYPE check...
> > [X3dDoctypeChecker] success: valid XML declaration found; success: final
> X3D 3.2 DOCTYPE found.
> > no action taken, functionality not implemented...
> >
> > Performing well-formed XML check...
> > Checking
> file:/C:/Users/brutzman/Desktop/FurundarenaTouchSensorTest.x3d...
> > Well-formed XML check: pass
> >
> > Performing DTD validation...
> > Checking
> file:/C:/Users/brutzman/Desktop/FurundarenaTouchSensorTest.x3d...
> > Attribute value "1-ClosureSurface-2-Desktop" of type ID must be an
> NCName when namespaces are enabled.
> > Attribute value "2-ClosureSurface-2-Desktop" of type ID must be an
> NCName when namespaces are enabled.
> > Attribute value "2-WallSurface-2-Desktop" of type ID must be an NCName
> when namespaces are enabled.
> > XML DTD validation: fail!
> >
> > Performing X3D schema validation...
> > Checking
> file:/C:/Users/brutzman/Desktop/FurundarenaTouchSensorTest.x3d...
> > Referenced entity at
> "nbres:/org/web3d/x3d/externals/schemas/x3d-3.2-Web3dExtensionsPrivate.xsd".
> > Attribute value "1-ClosureSurface-2-Desktop" of type ID must be an
> NCName when namespaces are enabled.
> > cvc-datatype-valid.1.2.1: '1-ClosureSurface-2-Desktop' is not a valid
> value for 'NCName'.
> > cvc-attribute.3: The value '1-ClosureSurface-2-Desktop' of attribute
> 'DEF' on element 'Inline' is not valid with respect to its type, 'ID'.
> > Attribute value "2-ClosureSurface-2-Desktop" of type ID must be an
> NCName when namespaces are enabled.
> > cvc-datatype-valid.1.2.1: '2-ClosureSurface-2-Desktop' is not a valid
> value for 'NCName'.
> > cvc-attribute.3: The value '2-ClosureSurface-2-Desktop' of attribute
> 'DEF' on element 'Inline' is not valid with respect to its type, 'ID'.
> > Attribute value "2-WallSurface-2-Desktop" of type ID must be an NCName
> when namespaces are enabled.
> > cvc-datatype-valid.1.2.1: '2-WallSurface-2-Desktop' is not a valid value
> for 'NCName'.
> > cvc-attribute.3: The value '2-WallSurface-2-Desktop' of attribute 'DEF'
> on element 'Inline' is not valid with respect to its type, 'ID'.
> > XML schema validation: fail!
> >
> > Performing X3dToClassicVrml.xslt conversion check...
> >
> > Performing X3D regular expression (regex) values check...
> >
> > Performing X3D Schematron check...
> > <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]
> > <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]
> > <TouchSensor DEF='TouchSensor-1-ClosureSurface-2-Desktop'/> missing
> ROUTE to send output events [/X3D/Scene/Group/Transform[1]/TouchSensor,
> warning]
> > <TouchSensor DEF='TouchSensor-1-ClosureSurface-2-Desktop'/> missing
> description.  Example: description='touch to activate'
> [/X3D/Scene/Group/Transform[1]/TouchSensor, warning]
> > <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]
> > <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]
> > <TouchSensor DEF='TouchSensor-2-ClosureSurface-2-Desktop'/> missing
> ROUTE to send output events [/X3D/Scene/Group/Transform[2]/TouchSensor,
> warning]
> > <TouchSensor DEF='TouchSensor-2-ClosureSurface-2-Desktop'/> missing
> description.  Example: description='touch to activate'
> [/X3D/Scene/Group/Transform[2]/TouchSensor, warning]
> > <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]
> > <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]
> > <TouchSensor DEF='TouchSensor-2-WallSurface-2-Desktop'/> missing ROUTE
> to send output events [/X3D/Scene/Group/Transform[3]/TouchSensor, warning]
> > <TouchSensor DEF='TouchSensor-2-WallSurface-2-Desktop'/> missing
> description.  Example: description='touch to activate'
> [/X3D/Scene/Group/Transform[3]/TouchSensor, warning]
> >
> > --------- Validation checks complete for FurundarenaTouchSensorTest.x3d
> ---------
>
> I recommend avoiding hyphens in your DEF name and cleaning up the other
> warnings as well.
>
> During the next X3D working group meeting we will compare the
> various restrictions on DEF names to (hopefully) confirm that
> they are consistent for our various encodings.
>
> 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
>



-- 
Iñaki Prieto Furundarena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20120424/8f98134e/attachment.html>


More information about the X3D-Public mailing list