<div dir="auto">The number of errors per file is pretty overwhelming, plus overwhelming numbers of files with errors.  I can spoonfeed you errors, or you can bite the bullet and install node and xslt3, or I can send you a log of errors and we can iterate with each other.</div><div dir="auto"><br></div><div dir="auto">I can provide support by providing a script to run xslt3, but it’s pretty much core Saxonica command-line.</div><div dir="auto"><br></div><div dir="auto">We might start with a log of my local files, which includes HAnim.</div><div dir="auto"><br></div><div dir="auto">If desired, I can revisit my XML to JSON converter.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 12, 2021 at 10:42 AM 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)"><div dir="auto">What the command line documentation is showing is -dtd:on is not available with xslt3.</div><div dir="auto"><br></div><div dir="auto">So we’re pretty much stuck with the jar, or reimplementing the stylesheet in another language.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 12, 2021 at 8:55 AM Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</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)">John, the -dtd:on setting is used with Saxon so that all default values are included from the DTD even if no value is provided in the .x3d model.  This is intentional and necessary for the stylesheet to work.<br>
<br>
Don't change it or approximately everything will fail.  No problem here to fix.<br>
<br>
The command line documentation link is excellent and shows the power available during saxon invocation.<br>
<br>
<br>
On 4/11/2021 11:50 PM, John Carlson wrote:<br>
> <br>
> While some documentation indicates -dtd:on ??? may solve the problem,<br>
> look at this from Saxonica:<br>
> <br>
> <a href="https://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line" rel="noreferrer" target="_blank">https://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line</a><br>
> <br>
> Thanks,<br>
> <br>
> John<br>
> On 4/12/21 1:29 AM, John Carlson wrote:<br>
>> Here's the code that gets execute in the X3dToJson.xslt stylesheet.<br>
>> Is there some way to fix it with a flag?<br>
>><br>
>> <xsl:otherwise><br>
>><br>
>>                             <!-- Note that this error condition occurs<br>
>> if DTD default attribute values are suppressed before invocation --><br>
>> <xsl:text>IllegalChildNodeFieldNameNotFound</xsl:text><br>
>>                             <xsl:message><br>
>>                                 <xsl:text>Error:<br>
>> IllegalChildNodeFieldNameNotFound no containerField or field name<br>
>> found for the X3D JSON object. Check spelling of node.</xsl:text><br>
>> <xsl:text>&#10;</xsl:text><br>
>>                                 <xsl:text> $elementName=</xsl:text><br>
>>                                 <xsl:value-of select="$elementName"/><br>
>>                                 <xsl:if test="(string-length(@DEF) > 0)"><br>
>>                                         <xsl:text>, DEF=</xsl:text><br>
>>                                         <xsl:value-of select="@DEF"/><br>
>>                                 </xsl:if><br>
>>                                 <xsl:if test="(string-length(@USE) > 0)"><br>
>>                                         <xsl:text>, USE=</xsl:text><br>
>>                                         <xsl:value-of select="@USE"/><br>
>>                                 </xsl:if><br>
>>                                 <xsl:text>, $parentName=</xsl:text><br>
>>                                 <xsl:value-of select="$parentName"/><br>
>> <xsl:text>&#10;</xsl:text><br>
>>                                 <xsl:choose><br>
>>                                         <xsl:when<br>
>> test="not($isTestScene)"><br>
>>                                                 <xsl:text> Please<br>
>> report this error to <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a> - thanks for your help<br>
>> improving X3D Quality Assurance (QA).</xsl:text><br>
>>                                         </xsl:when><br>
>>                                         <xsl:when<br>
>> test="(string-length(//meta[(@name='title')]/@content) > 0)"><br>
>>                                                 <xsl:text> </xsl:text><br>
>>                                                 <xsl:value-of<br>
>> select="//meta[(@name='title')]/@content"/><br>
>>                                                 <xsl:text> is a test<br>
>> scene supporting X3D Quality Assurance (QA).</xsl:text><br>
>>                                         </xsl:when><br>
>>                                 </xsl:choose><br>
>>                             </xsl:message><br>
>>                         </xsl:otherwise><br>
<br>
all the best, Don<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   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div></div>
</blockquote></div></div>