<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>NistFtc09Asme1Ap242Spri execution self-validation test results:
org.web3d.x3d.sai.InvalidFieldException: ERROR_ILLEGAL_VALUE
insufficient X3D profile='CADInterchange' for parent X3D model
containing 'CADFace' node, ensure sufficient support by adding
head statement <component name='CADGeometry' level='2'/><br>
or Java source-code assignment:
findAncestorX3D().getHead().addComponent("CADGeometry").setLevel(2);</p>
<p><br>
</p>
<p>XML:</p>
<p>x3d/content/examples/ConformanceNist/STEP/FTC09/NistFtc09Asme1Ap242Spri.x3d</p>
<p>first part, including components:<br>
</p>
<p><?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN"
<a class="moz-txt-link-rfc2396E" href="https://www.web3d.org/specifications/x3d-3.3.dtd">"https://www.web3d.org/specifications/x3d-3.3.dtd"</a>><br>
<X3D profile='CADInterchange' version='3.3'
xmlns:xsd='<a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>'
xsd:noNamespaceSchemaLocation='<a class="moz-txt-link-freetext" href="https://www.web3d.org/specifications/x3d-3.3.xsd">https://www.web3d.org/specifications/x3d-3.3.xsd</a>'><br>
<head><br>
<component level='1' name='EnvironmentalEffects'/><br>
<component level='1' name='Navigation'/><br>
<unit category='length' conversionFactor='0.0254'
name='INCH'/><br>
<meta content='NistFtc09Asme1Ap242Spri.x3d' name='title'/</p>
<p><br>
</p>
<p>If you're still confused, please respond. The code in question
is running inside jjs/nashorn, so Java results may be different.</p>
<p><br>
</p>
<p>I have quite a few different error reports. I will try to
submit them when I see an interesting one, or I can capture the
whole log and send it to you.</p>
<p><br>
</p>
<p>I will run through X3D validator below, strange that the
component error doesn't show up.<br>
</p>
<p><b>6. Performing <a
href="http://www.web3d.org/pipermail/x3d-public_web3d.org/2012-March/001950.html"
target="X3dValidatorReference" title="test description or
source">integer/float data-patterns</a> check...</b>
as part of <a
href="https://www.web3d.org/specifications/X3dRegularExpressions.html"
target="_blank">X3D Regular Expressions (regexes)</a>
Found 1 leading-zero match:
- in line 43 column 110: 09 <font color="red">Error(s) detected
during this validation test.
integer/float data-patterns check: <b>fail</b></font>.</p>
<p><b>7. Performing <a
href="http://www.web3d.org/x3d/tools/schematron/X3dSchematron.html"
target="X3dValidatorReference" title="test description or
source">X3D Schematron</a> check...</b>
<meta name='info' content='Correct definition and compliance of
this conformance scene is maintained by the Web3D Design Printing
and Scanning Working Group,
<a class="moz-txt-link-freetext" href="https://www.web3d.org/working-groups/cad'/">https://www.web3d.org/working-groups/cad'/</a>>
[/X3D/head/meta[22], diagnostic]
<CADPart DEF=''/> name='NIST PMI FTC 09 ASME1' contains
whitespace, which may fail validation or matching corresponding
names [/X3D/Scene/CADPart, warning]
<CADPart DEF='' name='NIST PMI FTC 09 ASME1'/> does not have
an ancestor CADAssembly [/X3D/Scene/CADPart, info]
X3D Schematron check: <font color="green"><b>pass</b></font>.
Good practice is to fix errors and warnings wherever possible, and
consider silencing harmless informational messages, so that
important indicators remain noticeable.</p>
<p><br>
</p>
<p>John<br>
</p>
</body>
</html>