Skip to content

Instantly share code, notes, and snippets.

@andrienko
Created May 17, 2022 13:33
Show Gist options
  • Save andrienko/31a93ba884d6c93dae383bf0eb942bd6 to your computer and use it in GitHub Desktop.
Save andrienko/31a93ba884d6c93dae383bf0eb942bd6 to your computer and use it in GitHub Desktop.
xmldom-qsa failing XML file
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<authoring_tool>three.js Collada Exporter</authoring_tool>
</contributor>
<created>2022-05-17T12:06:03.572Z</created>
<modified>2022-05-17T12:06:03.572Z</modified>
<up_axis>Y_UP</up_axis>
</asset>
<library_images>
</library_images>
<library_effects>
<effect id="Mat1-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.9999999999999999 0.9999999999999999 0.9999999999999999 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.9999999999999999 0.9999999999999999 0.9999999999999999 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat2-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.9999999999999999 0 0 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.9999999999999999 0 0 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat3-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.9999999999999999 0.783644433605668 0.4845349934378071 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.9999999999999999 0.783644433605668 0.4845349934378071 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat4-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.9999999999999999 0.987835160161242 0.11070696765723925 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.9999999999999999 0.987835160161242 0.11070696765723925 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat5-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.7907336527930664 0.9999999999999999 0 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.7907336527930664 0.9999999999999999 0 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat6-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.5101272451475447 0.9999999999999999 0.840362107551426 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.5101272451475447 0.9999999999999999 0.840362107551426 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat7-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0 0.7183156164081735 0.9999999999999999 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0 0.7183156164081735 0.9999999999999999 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="Mat8-effect">
<profile_COMMON>
<technique sid="common">
<lambert>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<diffuse>
<color sid="diffuse">0.80924303835924 0.5569533128379903 0.9999999999999999 1</color>
</diffuse>
<bump>
</bump>
<reflective>
<color>0.80924303835924 0.5569533128379903 0.9999999999999999 1</color>
</reflective>
<reflectivity>
<float>1</float>
</reflectivity>
</lambert>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_materials>
<material id="Mat1">
<instance_effect url="#Mat1-effect" />
</material>
<material id="Mat2">
<instance_effect url="#Mat2-effect" />
</material>
<material id="Mat3">
<instance_effect url="#Mat3-effect" />
</material>
<material id="Mat4">
<instance_effect url="#Mat4-effect" />
</material>
<material id="Mat5">
<instance_effect url="#Mat5-effect" />
</material>
<material id="Mat6">
<instance_effect url="#Mat6-effect" />
</material>
<material id="Mat7">
<instance_effect url="#Mat7-effect" />
</material>
<material id="Mat8">
<instance_effect url="#Mat8-effect" />
</material>
</library_materials>
<library_geometries>
<geometry id="Mesh1">
<mesh>
<source id="Mesh1-position">
<float_array id="Mesh1-position-array" count="324">-0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.1470869928598404 0.1470869928598404 -0.1470869928598404 0.1470869928598404 -0.1470869928598404 -0.1470869928598404 0.6060870289802551 -0.1470869928598404 0.1470869928598404 0.31191301345825195 -0.1470869928598404 -0.1470869928598404 0.31191301345825195 -0.1470869928598404 0.1470869928598404 0.6060870289802551 0.1470869928598404 0.1470869928598404 0.31191301345825195 -0.1470869928598404 0.1470869928598404 0.31191301345825195 0.1470869928598404 0.1470869928598404 0.6060870289802551 0.1470869928598404 -0.1470869928598404 0.31191301345825195 0.1470869928598404 0.1470869928598404 0.31191301345825195 0.1470869928598404 -0.1470869928598404 0.6060870289802551 -0.1470869928598404 -0.1470869928598404 0.31191301345825195 0.1470869928598404 -0.1470869928598404 0.31191301345825195 0.1470869928598404 0.1470869928598404 0.31191301345825195 -0.1470869928598404 -0.1470869928598404 0.31191301345825195 -0.1470869928598404 0.1470869928598404 0.31191301345825195 -0.1470869928598404 0.1470869928598404 0.6060870289802551 0.1470869928598404 -0.1470869928598404 0.6060870289802551 0.1470869928598404 0.1470869928598404 0.6060870289802551 -0.1470869928598404 -0.1470869928598404 0.6060870289802551 -0.1470869928598404 0.1470869928598404 0.6060870289802551 -0.1470869928598404 0.1470869928598404 0.31191301345825195 -0.1470869928598404 0.1470869928598404 0.6060870289802551 0.1470869928598404 0.1470869928598404 0.6060870289802551 0.1470869928598404 0.1470869928598404 0.31191301345825195 0.1470869928598404 0.1470869928598404 0.6060870289802551 0.1470869928598404 -0.1470869928598404 0.6060870289802551 0.1470869928598404 -0.1470869928598404 0.31191301345825195 0.1470869928598404 -0.1470869928598404 0.6060870289802551 -0.1470869928598404 -0.1470869928598404 0.6060870289802551 -0.1470869928598404 -0.1470869928598404 0.31191301345825195 0.1470869928598404 0.1470869928598404 0.31191301345825195 0.1470869928598404 -0.1470869928598404 0.31191301345825195 -0.1470869928598404 -0.1470869928598404 0.31191301345825195 -0.1470869928598404 0.1470869928598404 0.6060870289802551 -0.1470869928598404 -0.1470869928598404 0.6060870289802551 0.1470869928598404 -0.1470869928598404 0.6060870289802551 -0.10967899858951569 -0.10967899858951569 0.3386789858341217 -0.10967899858951569 0.10967899858951569 0.11932100355625153 -0.10967899858951569 -0.10967899858951569 0.11932100355625153 -0.10967899858951569 0.10967899858951569 0.3386789858341217 0.10967899858951569 0.10967899858951569 0.11932100355625153 -0.10967899858951569 0.10967899858951569 0.11932100355625153 0.10967899858951569 0.10967899858951569 0.3386789858341217 0.10967899858951569 -0.10967899858951569 0.11932100355625153 0.10967899858951569 0.10967899858951569 0.11932100355625153 0.10967899858951569 -0.10967899858951569 0.3386789858341217 -0.10967899858951569 -0.10967899858951569 0.11932100355625153 0.10967899858951569 -0.10967899858951569 0.11932100355625153 0.10967899858951569 0.10967899858951569 0.11932100355625153 -0.10967899858951569 -0.10967899858951569 0.11932100355625153 -0.10967899858951569 0.10967899858951569 0.11932100355625153 -0.10967899858951569 0.10967899858951569 0.3386789858341217 0.10967899858951569 -0.10967899858951569 0.3386789858341217 0.10967899858951569 0.10967899858951569 0.3386789858341217 -0.10967899858951569 -0.10967899858951569 0.3386789858341217 -0.10967899858951569 0.10967899858951569 0.3386789858341217 -0.10967899858951569 0.10967899858951569 0.11932100355625153 -0.10967899858951569 0.10967899858951569 0.3386789858341217 0.10967899858951569 0.10967899858951569 0.3386789858341217 0.10967899858951569 0.10967899858951569 0.11932100355625153 0.10967899858951569 0.10967899858951569 0.3386789858341217 0.10967899858951569 -0.10967899858951569 0.3386789858341217 0.10967899858951569 -0.10967899858951569 0.11932100355625153 0.10967899858951569 -0.10967899858951569 0.3386789858341217 -0.10967899858951569 -0.10967899858951569 0.3386789858341217 -0.10967899858951569 -0.10967899858951569 0.11932100355625153 0.10967899858951569 0.10967899858951569 0.11932100355625153 0.10967899858951569 -0.10967899858951569 0.11932100355625153 -0.10967899858951569 -0.10967899858951569 0.11932100355625153 -0.10967899858951569 0.10967899858951569 0.3386789858341217 -0.10967899858951569 -0.10967899858951569 0.3386789858341217 0.10967899858951569 -0.10967899858951569 0.3386789858341217</float_array>
<technique_common>
<accessor source="#Mesh1-position-array" count="108" stride="3">
<param name="X" type="float" />
<param name="Y" type="float" />
<param name="Z" type="float" />
</accessor>
</technique_common>
</source>
<vertices id="Mesh1-vertices">
<input semantic="POSITION" source="#Mesh1-position" />
</vertices>
<source id="Mesh1-normal">
<float_array id="Mesh1-normal-array" count="324">-1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 -1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 -1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 -1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 -1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 -1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1</float_array>
<technique_common>
<accessor source="#Mesh1-normal-array" count="108" stride="3">
<param name="X" type="float" />
<param name="Y" type="float" />
<param name="Z" type="float" />
</accessor>
</technique_common>
</source>
<source id="Mesh1-texcoord">
<float_array id="Mesh1-texcoord-array" count="216">1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 0 1 0.00007498259947169572 0.00031355000101029873 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1</float_array>
<technique_common>
<accessor source="#Mesh1-texcoord-array" count="108" stride="2">
<param name="S" type="float" />
<param name="T" type="float" />
</accessor>
</technique_common>
</source>
<triangles material="MESH_MATERIAL_0" count="12">
<input semantic="VERTEX" source="#Mesh1-vertices" offset="0" />
<input semantic="NORMAL" source="#Mesh1-normal" offset="0" />
<input semantic="TEXCOORD" source="#Mesh1-texcoord" offset="0" set="0" />
<p>0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35</p>
</triangles>
<triangles material="MESH_MATERIAL_1" count="12">
<input semantic="VERTEX" source="#Mesh1-vertices" offset="0" />
<input semantic="NORMAL" source="#Mesh1-normal" offset="0" />
<input semantic="TEXCOORD" source="#Mesh1-texcoord" offset="0" set="0" />
<p>36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71</p>
</triangles>
<triangles material="MESH_MATERIAL_2" count="12">
<input semantic="VERTEX" source="#Mesh1-vertices" offset="0" />
<input semantic="NORMAL" source="#Mesh1-normal" offset="0" />
<input semantic="TEXCOORD" source="#Mesh1-texcoord" offset="0" set="0" />
<p>72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107</p>
</triangles>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="Scene" name="scene">
<node name="danketsu_mesh">
<matrix>1 0 0 0 0 1 0 0 0 0 1 -0.22950001806020737 0 0 0 1</matrix>
<instance_geometry url="#Mesh1">
<bind_material>
<technique_common>
<instance_material symbol="MESH_MATERIAL_0" target="#Mat1" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_1" target="#Mat2" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_2" target="#Mat3" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_3" target="#Mat4" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_4" target="#Mat5" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_5" target="#Mat6" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_6" target="#Mat7" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
<instance_material symbol="MESH_MATERIAL_7" target="#Mat8" >
<bind_vertex_input semantic="TEXCOORD" input_semantic="TEXCOORD" input_set="0" />
</instance_material>
</technique_common>
</bind_material>
</instance_geometry>
</node>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#Scene"/>
</scene>
</COLLADA>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment