<div dir="auto">Hi Don,<div dir="auto"><br></div><div dir="auto">working through the various examples archives I noticed that most, perhaps all ROUTE statements are affected by duplicated toNode attributes, not just the NIST examples. Just a heads up if the fix is ready to go, </div><div dir="auto"><br></div>Andreas<div dir="auto"><br></div><div dir="auto">On Aug 14, 2017 9:06 PM, "Don Brutzman" <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for reporting this error in the HTML pretty-print capability Andreas.<br>
<br>
The offending error is in line 1803 of X3dToXhtml.xslt which sayeth:<br>
<br>
<xsl:when test="local-name()='ROUTE'"><br>
        <xsl:apply-templates select="@fromNode"/><br>
        <xsl:apply-templates select="@fromField"/><br>
        <xsl:apply-templates select="@toNode"/><br>
        <xsl:apply-templates select="@toField"/><br>
        <xsl:apply-templates select="@*[local-name()!='from<wbr>Node' and local-name()!='fromField' and<br>
                local-name()!= '@toNode' and local-name()!=  'toField']"/><!-- safety net --><br>
</xsl:when><br>
<br>
the expression<br>
        local-name()!= '@toNode'<br>
<br>
has been corrected to<br>
        local-name()!= 'toNode'<br>
<br>
This was a relative recent change intended to expose stray attributes (such as DEF or USE or id) which might appear erroneously in a ROUTE.<br>
<br>
Bugfix checked in.  I will update the HTML documentation files in the published archives as time permits.  Again thanks.<div class="quoted-text"><br>
<br>
On 8/13/2017 5:41 AM, Andreas Plesch wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">
ROUTE statements in examples listed at <a href="http://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/index.html" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/ConformanceNist/<wbr>Sensors/TimeSensor/index.html</a><br>
<br>
have their toNode attribute duplicated:<br>
<br></div>
<ROUTE fromNode='TOUCH <<a href="http://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/cycleinterval.html#TOUCH" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/cont<wbr>ent/examples/ConformanceNist/<wbr>Sensors/TimeSensor/<wbr>cycleinterval.html#TOUCH</a>>' fromField='touchTime' toNode='TIME <<a href="http://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/cycleinterval.html#TIME" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/cont<wbr>ent/examples/ConformanceNist/<wbr>Sensors/TimeSensor/<wbr>cycleinterval.html#TIME</a>>' toField='startTime' toNode='TIME <<a href="http://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/cycleinterval.html#TIME" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/cont<wbr>ent/examples/ConformanceNist/<wbr>Sensors/TimeSensor/<wbr>cycleinterval.html#TIME</a>>'/><div class="quoted-text"><br>
<br>
The canonical xml and json encodings do not have the duplication.<br>
<br>
I  checked a few other examples and suspect but that all ConformanceNist examples are affected.<br>
<br>
Andreas<br>
<br>
-- <br>
Andreas Plesch<br>
39 Barbara Rd.<br>
Waltham, MA 02453<br>
<br>
<br></div>
______________________________<wbr>_________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listi<wbr>nfo/x3d-public_web3d.org</a><br>
<br>
</blockquote>
<br>
<br>
all the best, Don<font color="#888888"><br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   <a href="tel:%2B1.831.656.2149" value="+18316562149" target="_blank">+1.831.656.2149</a><br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzma<wbr>n</a><br>
</font></blockquote></div><br></div></div></div>