[x3d-public] X3D-Edit 4.0, V4. Support of xmlns attribute.

John Carlson yottzumm at gmail.com
Wed Mar 2 07:55:49 PST 2016


I note that X3D-Edit does not support the xmlns attribute fairly well, so documents coming out of XMLSerializer in Chrome and perhaps other browsers will be seriously broken.  Also the X3D to JSON stylesheet seems to croak with no output.  Here’s an example scene out of an XML Serializer.  Please support xmlns.  If I’ve got the wrong namespace, let me know.  There appear to be many options.

Thanks!

John



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D xmlns="http://www.web3d.org/specifications/x3d-namespace" profile="Immersive" version="3.3" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.3.xsd" id="x3dele" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"><head/>
<Scene><Shape DEF="Arch" containerField="children" bboxCenter="0 0 0" bboxSize="-1 -1 -1" class="Arch"><IndexedFaceSet DEF="ArchIndex" convex="false" coordIndex="31 32 33 34 35 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 144 -1 149 31 144 147 -1 134 147 144 145 -1 145 144 62 141 -1 132 133 141 62 -1 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 143 -1 148 94 143 146 -1 142 128 146 143 -1 140 125 143 142 -1 125 126 127 140 -1 31 94 95 32 -1 32 95 96 33 -1 33 96 97 34 -1 34 97 98 35 -1 35 98 99 36 -1 36 99 100 37 -1 37 100 101 38 -1 38 101 102 39 -1 39 102 103 40 -1 40 103 104 41 -1 41 104 105 42 -1 42 105 106 43 -1 43 106 107 44 -1 44 107 108 45 -1 45 108 109 46 -1 46 109 110 47 -1 47 110 111 48 -1 48 111 112 49 -1 49 112 113 50 -1 50 113 114 51 -1 51 114 115 52 -1 52 115 116 53 -1 53 116 117 54 -1 54 117 118 55 -1 55 118 119 56 -1 56 119 120 57 -1 57 120 121 58 -1 58 121 122 59 -1 59 122 123 60 -1 60 123 124 61 -1 61 124 125 62 -1 148 149 147 146 -1 146 147 134 128 -1 128 134 145 142 -1 140 141 145 142 -1 127 133 141 140 -1 127 126 132 133 -1 126 132 62 125 -1 31 94 143 144 -1 142 143 144 145 -1 140 125 62 141 -1 31 94 148 149 -1" creaseAngle="0" solid="false" ccw="true" colorPerVertex="true" normalPerVertex="true" containerField="geometry" class="ArchIndex"><Coordinate DEF="ArchChoord" point="2 0 0 1.997498435543818 0.1 0 1.98997487421324 0.2 0 1.977371993328519 0.3 0 1.9595917942265424 0.4 0 1.9364916731037085 0.5 0 1.907878402833891 0.6 0 1.8734993995195193 0.7 0 1.833030277982336 0.8 0 1.786057109949175 0.9 0 1.7320508075688774 1 0 1.6703293088490068 1.1 0 1.6 1.2 0 1.5198684153570663 1.3 0 1.42828568570857 1.4 0 1.3228756555322954 1.5 0 1.2 1.6 0 1.0535653752852738 1.7 0 0.9020947843768965 1.785 0 0.7599342076785331 1.85 0 0.6244997998398398 1.9 0 0.5425633603552678 1.925 0 0.4444097208657794 1.95 0 0.36181625170796194 1.967 0 0.2821347195933173 1.98 0 0.19974984355438344 1.99 0 0.16718552568927703 1.993 0 0.14133294025102577 1.995 0 0.10950342460398416 1.997 0 0.08942035562443253 1.998 0 0.06323764701505419 1.999 0 0 2 0 -0.06323764701505419 1.999 0 -0.08942035562443253 1.998 0 -0.10950342460398416 1.997 0 -0.14133294025102577 1.995 0 -0.16718552568927703 1.993 0 -0.19974984355438344 1.99 0 -0.2821347195933173 1.98 0 -0.36181625170796194 1.967 0 -0.4444097208657794 1.95 0 -0.5425633603552678 1.925 0 -0.6244997998398398 1.9 0 -0.7599342076785331 1.85 0 -0.9020947843768965 1.785 0 -1.0535653752852738 1.7 0 -1.2 1.6 0 -1.3228756555322954 1.5 0 -1.42828568570857 1.4 0 -1.5198684153570663 1.3 0 -1.6 1.2 0 -1.6703293088490068 1.1 0 -1.7320508075688774 1 0 -1.786057109949175 0.9 0 -1.833030277982336 0.8 0 -1.8734993995195193 0.7 0 -1.907878402833891 0.6 0 -1.9364916731037085 0.5 0 -1.9595917942265424 0.4 0 -1.977371993328519 0.3 0 -1.98997487421324 0.2 0 -1.997498435543818 0.1 0 -2 0 0 2 0 3 1.997498435543818 0.1 3 1.98997487421324 0.2 3 1.977371993328519 0.3 3 1.9595917942265424 0.4 3 1.9364916731037085 0.5 3 1.907878402833891 0.6 3 1.8734993995195193 0.7 3 1.833030277982336 0.8 3 1.786057109949175 0.9 3 1.7320508075688774 1 3 1.6703293088490068 1.1 3 1.6 1.2 3 1.5198684153570663 1.3 3 1.42828568570857 1.4 3 1.3228756555322954 1.5 3 1.2 1.6 3 1.0535653752852738 1.7 3 0.9020947843768965 1.785 3 0.7599342076785331 1.85 3 0.6244997998398398 1.9 3 0.5425633603552678 1.925 3 0.4444097208657794 1.95 3 0.36181625170796194 1.967 3 0.2821347195933173 1.98 3 0.19974984355438344 1.99 3 0.16718552568927703 1.993 3 0.14133294025102577 1.995 3 0.10950342460398416 1.997 3 0.08942035562443253 1.998 3 0.06323764701505419 1.999 3 0 2 3 -0.06323764701505419 1.999 3 -0.08942035562443253 1.998 3 -0.10950342460398416 1.997 3 -0.14133294025102577 1.995 3 -0.16718552568927703 1.993 3 -0.19974984355438344 1.99 3 -0.2821347195933173 1.98 3 -0.36181625170796194 1.967 3 -0.4444097208657794 1.95 3 -0.5425633603552678 1.925 3 -0.6244997998398398 1.9 3 -0.7599342076785331 1.85 3 -0.9020947843768965 1.785 3 -1.0535653752852738 1.7 3 -1.2 1.6 3 -1.3228756555322954 1.5 3 -1.42828568570857 1.4 3 -1.5198684153570663 1.3 3 -1.6 1.2 3 -1.6703293088490068 1.1 3 -1.7320508075688774 1 3 -1.786057109949175 0.9 3 -1.833030277982336 0.8 3 -1.8734993995195193 0.7 3 -1.907878402833891 0.6 3 -1.9364916731037085 0.5 3 -1.9595917942265424 0.4 3 -1.977371993328519 0.3 3 -1.98997487421324 0.2 3 -1.997498435543818 0.1 3 -2 0 3 -2 -1 3 -2.5 -1 3 -2.5 2.5 3 2.5 2.5 3 2.5 -1 3 2 -1 3 -2 -1 0 -2.5 -1 0 -2.5 2.5 0 2.5 2.5 0 2.5 -1 0 2 -1 0 2.5 0 3 2.5 0 0 -2.5 0 3 -2.5 0 0 -2.5 2 3 -2 2 3 -2 2 0 -2.5 2 0 -2 2.5 3 -2 2.5 0 0 2.5 3 0 2.5 0 2 2 3 2.5 2 3 2.5 2 0 2 2 0 2 2.5 3 2 2.5 0" containerField="coord" class="ArchChoord"/>
</IndexedFaceSet>
<Appearance containerField="appearance"><Material DEF="MaterialNode" diffuseColor="1 0.75 0.25" ambientIntensity="0.2" emissiveColor="0 0 0" shininess="0.2" specularColor="0 0 0" transparency="0" containerField="material" class="MaterialNode"/>
</Appearance>
</Shape>
</Scene>
</X3D>


More information about the x3d-public mailing list