[x3d-public] Example errors converting XML to JSON, with X3dToJson.xslt

John Carlson yottzumm at gmail.com
Tue Sep 29 21:05:44 PDT 2020


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> 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 - 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 - 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 - 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 - 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 - 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 - 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200929/497422e0/attachment-0001.html>


More information about the x3d-public mailing list