[x3d-public] reading schematron diagnostics

Don Brutzman brutzman at nps.edu
Fri Feb 5 00:11:20 PST 2021


These Schematron alerts are readable if you split them up.  Here is explanation for first.

On 2/4/2021 10:54 PM, John Carlson wrote:
> ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue name='startnode' value=''/> has matching ProtoDeclare but no corresponding field match for this fieldValue

The above warning says that your ProtoInstance named "x3dconnector" has an initial field value named "startnode", but there is no corresponding field "startnode" defined in the governing ProtoDeclare named "x3dconnector".

No name found usually means that you have a flawed ProtoInstance.  Though the mismatch/misunderstanding might be in the ProtoDeclare or ExternProtoDeclare.  As author, you must ensure that all the names match.

> [/X3D/Scene/ProtoInstance[1]/fieldValue[1], hint]

This provides the location of the node in your scene graph.  Thus go to the X3D node, then the scene node, then the first ProtoInstance [1] , then the first fieldValue [1].

These are super helpful.  If the flaw is in your original X3D model, then stylesheets and other tools simply won't work - GIGO.

Good luck!

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