[x3d-public] Example errors converting XML to JSON, with X3dToJson.xslt
Don Brutzman
brutzman at nps.edu
Mon Oct 5 13:19:33 PDT 2020
John, I think the stylesheets are up to date now for the PBR changes. Also deployed an updated X3DJSAIL.
These all match X3D schema/doctype and X3DUOM at
* https://www.web3d.org/specifications/
Please try testing again. Thanks for your many efforts.
v/r Don
On 9/29/2020 9:05 PM, John Carlson wrote:
>
>
> These work:
>
> https://coderextreme.net/X3DJSONLD/AlphaBlendModeTest.glb
>
> https://coderextreme.net/X3DJSONLD/glTFAlphaBlendModeTest.glb.x3d
>
> The issue is generating JSON from glb through xml
>
> John
>
> On Tue, Sep 29, 2020 at 10:22 PM John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
>
> GLB and X3D:
>
> https://coderextreme.net:coderextreme.net/X3DJSONLD/AlphaBlendModeTest.glb
>
> https://coderextreme.net:coderextreme.net/X3DJSONLD/glTFAlphaBlendModeTest.glb.x3d
>
> Building X3DJSAIL after I send this email.
>
> Log follows;
>
> BEGIN C:/Users/coderextreme/glTF-Sample-Models/2.0/AlphaBlendModeTest/glTF-BinaryAlphaBlendModeTest.glb.x3d > json,
>
> Warning: X3dToJson.xslt attribute type not found for Appearance alphaChannel
> Error: X3dToJson.xslt converter not finding element-attribute type for Appearance alphaChannel
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
> $elementName=PhysicalMaterial, $parentName=Appearance
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial baseTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial baseTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial metallic
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial roughness
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for Appearance alphaChannel
> Error: X3dToJson.xslt converter not finding element-attribute type for Appearance alphaChannel
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
> $elementName=PhysicalMaterial, $parentName=Appearance
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial baseTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial baseTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial metallic
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial roughness
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for Appearance alphaChannel
> Error: X3dToJson.xslt converter not finding element-attribute type for Appearance alphaChannel
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
> $elementName=PhysicalMaterial, $parentName=Appearance
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial baseTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial baseTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial metallic
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial roughness
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for Appearance alphaChannel
> Error: X3dToJson.xslt converter not finding element-attribute type for Appearance alphaChannel
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
> $elementName=PhysicalMaterial, $parentName=Appearance
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial baseTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial baseTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial metallic
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial roughness
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for Appearance alphaChannel
> Error: X3dToJson.xslt converter not finding element-attribute type for Appearance alphaChannel
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
> $elementName=PhysicalMaterial, $parentName=Appearance
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial baseTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial baseTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial metallic
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial roughness
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> Warning: X3dToJson.xslt attribute type not found for Appearance alphaChannel
> Error: X3dToJson.xslt converter not finding element-attribute type for Appearance alphaChannel
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
> $elementName=PhysicalMaterial, $parentName=Appearance
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial normalTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial normalTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial baseTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial baseTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial metallicRoughnessTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial metallicRoughnessTextureMapping
> Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial occlusionTextureMapping
> Error: X3dToJson.xslt converter not finding element-attribute type for PhysicalMaterial occlusionTextureMapping
> Warning: X3dToJson.xslt attribute type not found for TextureCoordinate mapping
> Error: X3dToJson.xslt converter not finding element-attribute type for TextureCoordinate mapping
> END C:/Users/coderextreme/glTF-Sample-Models/2.0/AlphaBlendModeTest/glTF-BinaryAlphaBlendModeTest.glb.x3d
>
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