<div dir="auto">I’m still trying to track down issues with schematron run.   See other messages for the x3dconnectorProto.X3D attachment.  I have yet to see update of validator.   I have not figured out why the schematron is logging hints/errors, looking at the schematron rules.</div><div dir="auto"><br></div><div dir="auto">Also, possibly related is how X3dToJson.xslt is generating 10 ProtoDeclares, when there’s only one present in the xml model.This is using the xslt3 stylesheet processor.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">This is not a showstopper at this point.   It will be a problem if we use the JSON output from xslt3.</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 6, 2021 at 4:26 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Don, I don't see any updates to X3D validator, so errors will still <br>
appear as hints.  Likely, you are busy.  Schematron is still <br>
(incorrectly?) reporting "pass."  I am including Doug Sanden since I <br>
think he was the originator of the file (attached). Other wise people <br>
might help too?<br>
<br>
I don't see the problem given your explanation previously, Don.<br>
<br>
Perhaps it's the initializeOnly's and inputOnly's that should be <br>
converted to inputOutput?<br>
<br>
Still sort of puzzled.  I'm not aiming at wizardhood, just commenting on <br>
book titles ("Order of the Phoenix").<br>
<br>
This time, the errors appear not scrunched up i hope.  There was a <br>
problem with paste before, some mysterious Thunderbird feature.<br>
<br>
I will proceed by changing accessType on the fields.<br>
<br>
Thanks,<br>
<br>
John<br>
<br>
7. Performing X3D Schematron check...<br>
<ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue <br>
name='startnode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[1]/fieldValue[1], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue <br>
name='endnode' value=''/> has matching ProtoDeclare but no corresponding <br>
field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[1]/fieldValue[2], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue <br>
name='transnode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[1]/fieldValue[3], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue <br>
name='rotscalenode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[1]/fieldValue[4], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue <br>
name='set_startpoint' value='0 0 0'/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[1]/fieldValue[5], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector1'> <fieldValue <br>
name='set_endpoint' value='0 0 0'/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[1]/fieldValue[6], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector2'> <fieldValue <br>
name='startnode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[2]/fieldValue[1], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector2'> <fieldValue <br>
name='endnode' value=''/> has matching ProtoDeclare but no corresponding <br>
field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[2]/fieldValue[2], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector2'> <fieldValue <br>
name='transnode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[2]/fieldValue[3], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector2'> <fieldValue <br>
name='rotscalenode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[2]/fieldValue[4], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector2'> <fieldValue <br>
name='set_startpoint' value='0 0 0'/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[2]/fieldValue[5], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector2'> <fieldValue <br>
name='set_endpoint' value='0 0 0'/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[2]/fieldValue[6], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector3'> <fieldValue <br>
name='startnode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[3]/fieldValue[1], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector3'> <fieldValue <br>
name='endnode' value=''/> has matching ProtoDeclare but no corresponding <br>
field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[3]/fieldValue[2], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector3'> <fieldValue <br>
name='transnode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[3]/fieldValue[3], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector3'> <fieldValue <br>
name='rotscalenode' value=''/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[3]/fieldValue[4], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector3'> <fieldValue <br>
name='set_startpoint' value='0 0 0'/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[3]/fieldValue[5], hint]<br>
<ProtoInstance name='x3dconnector' DEF='connector3'> <fieldValue <br>
name='set_endpoint' value='0 0 0'/> has matching ProtoDeclare but no <br>
corresponding field match for this fieldValue <br>
[/X3D/Scene/ProtoInstance[3]/fieldValue[6], hint]<br>
X3D Schematron check: pass.<br>
Good practice is to fix errors and warnings wherever possible, and <br>
consider silencing harmless informational messages, so that important <br>
indicators remain noticeable.<br>
<br>
On 2/6/21 11:58 AM, Don Brutzman wrote:<br>
> step by step...<br>
><br>
> On 2/5/2021 1:55 AM, John Carlson wrote:<br>
>><br>
>> Thanks, Don.   I will look over the X3D file some more later.<br>
><br>
> gosh i love diagnostics!  um, compared to the alternative of no <br>
> diagnostics...<br>
><br>
>> Should the order of the fieldValues match the order of fields?<br>
><br>
> not required<br>
><br>
>> I’m beginning to sound like Harry Potter. Lol<br>
><br>
> We haven't yet defined a policy for "Web3D Wizard" but am sure that <br>
> consensus is possible following much concerted effort, controversy, <br>
> sound and fury...<br>
><br>
>> Thanks!<br>
>><br>
>> John<br>
><br>
> happy to help when i can, you are finding the gaps/seams and we're all <br>
> in this together. take care.  8)<br>
><br>
>> On Fri, Feb 5, 2021 at 2:11 AM Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a> <br>
>> <mailto:<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>>> wrote:<br>
>><br>
>>     These Schematron alerts are readable if you split them up. Here <br>
>> is explanation for first.<br>
>><br>
>>     On 2/4/2021 10:54 PM, John Carlson wrote:<br>
>>      > ProtoInstance name='x3dconnector' DEF='connector1'> <br>
>> <fieldValue name='startnode' value=''/> has matching ProtoDeclare but <br>
>> no corresponding field match for this fieldValue<br>
>><br>
>>     The above warning says that your ProtoInstance named <br>
>> "x3dconnector" has an initial field value named "startnode", but <br>
>> there is no corresponding field "startnode" defined in the governing <br>
>> ProtoDeclare named "x3dconnector".<br>
>><br>
>>     No name found usually means that you have a flawed <br>
>> ProtoInstance.  Though the mismatch/misunderstanding might be in the <br>
>> ProtoDeclare or ExternProtoDeclare.  As author, you must ensure that <br>
>> all the names match.<br>
>><br>
>>      > [/X3D/Scene/ProtoInstance[1]/fieldValue[1], hint]<br>
><br>
> p.s. i changed role attribute of this diagnostic from "hint" to <br>
> "error" since it is an error.<br>
><br>
>>     This provides the location of the node in your scene graph.  Thus <br>
>> go to the X3D node, then the scene node, then the first ProtoInstance <br>
>> [1] , then the first fieldValue [1].<br>
>><br>
>>     These are super helpful.  If the flaw is in your original X3D <br>
>> model, then stylesheets and other tools simply won't work - GIGO.<br>
>><br>
>>     Good luck!<br>
><br>
> all the best, Don<br>
</blockquote></div></div>