IMO containerField is a "don't go there," aagh I always hated that feature.<br><br>But you have to do it.<br><br><div class="gmail_quote">On Wed, Aug 4, 2010 at 6:52 AM, Johannes Behr <span dir="ltr"><<a href="mailto:johannes.behr@igd.fraunhofer.de">johannes.behr@igd.fraunhofer.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
we have some issues with xml/x3d-content and got it down to a basic spec-question:<br>
<br>
If we have content like this:<br>
<br>
<Shape ><br>
<Box containerField='foo' ><br>
...<br>
</Box><br>
</Shape><br>
<br>
There is no 'foo'-field in Shape and therefore the containerField='foo' assignment fails.<br>
<br>
What should happen in this case? Should the Shape fall-back to the normal behavior and<br>
put the Box in geometry or should the parser stop with an error?<br>
<br>
Is the containerField an should-go-there or must-go-there ?<br>
<br>
the related spec link I have found:<br>
<br>
<a href="http://www.web3d.org/x3d/specifications/ISO-IEC-19776-1.2-X3DEncodings-XML/Part01/concepts.html#ContainerFieldAttributeSyntax" target="_blank">http://www.web3d.org/x3d/specifications/ISO-IEC-19776-1.2-X3DEncodings-XML/Part01/concepts.html#ContainerFieldAttributeSyntax</a><br>
<br>
best regards,<br>
johannes<br>
<br>
<br>
_______________________________________________<br>
X3D-Public mailing list<br>
<a href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Tony Parisi <a href="mailto:tparisi@gmail.com">tparisi@gmail.com</a><br>CTO at Large 415.902.8002<br><br>