Results 1 to 1 of 1

Thread: 1.5 <technique> relates to "xs:any" differently than the PDF describes.

  1. #1
    Senior Member Regular Contributor
    Join Date
    Mar 2016

    Exclamation 1.5 <technique> relates to "xs:any" differently than the PDF describes.

    I don't think I have an account with the bugtracker, but it isn't as public as this forum. I can easily post this here, and people can easily find it, so.

    In the 1.5 PDF it explains that <technique><param> will validate the <param> element. But this is no longer true in 1.5. The PDF needs to be changed to caution readers somehow. In short, this is only true for <technique><COLLADA>, which most documents are unlikely to do (put a nested COLLADA "document" inside of a <technique>.)

    To validate "<param>" in 1.5 it must be written <technique><param_type>. Mark Barnes says this was by design, but the point of this post, is the PDF says otherwise.

    An alternative is to use the <technique> element's xmlns attribute to change the no-colon-namespace to the COLLADA 1.4.1 namespace, where <param> etc. will be validated.

    FYI: By "validate" I mean not that the document will be invalid if <param> is used. It just won't be seen as belonging to the COLLADA 1.5 namespace, and so validators will ignore it. And COLLADA-DOM for example, will use the generic string-based model for the element, rather than the databinding model with binary representation.

    I will try to write this PDF mis-documentation up for the bugtracker, but as I understand it, no one is fielding bugs, so it's something I might neglect to do for some time.

    EDITED: Also, to be clear. The <technique> element houses arbitrary user-defined data. Profiles use it to describe their "techniques." The implication is, that the "technique" cannot reuse COLLADA's elements, unless it knows the names from the schema, which are not part of the PDF documentation, or it declares itself to be using COLLADA 1.4.1 .. which is admittedly a little off, since the context is a COLLADA 1.5 document.
    Last edited by Mick P.; 07-27-2016 at 11:34 AM.

Similar Threads

  1. Switching between "arcball" and "fps-style" camera rotation
    By bsabiston in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 10-31-2017, 12:37 PM
  2. egl gles2 "function is no-op" "Mesa: User error"
    By unixmania in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-17-2013, 05:30 AM
  3. Replies: 1
    Last Post: 10-26-2012, 02:19 AM
  4. Global memory "bitfield" technique
    By Dark_Raven in forum OpenCL
    Replies: 4
    Last Post: 08-05-2012, 10:29 PM
  5. "best" linux dist for a "Gelato" render farm?
    By ArtificialArtOfficial in forum OpenGL: Linux
    Replies: 10
    Last Post: 12-23-2007, 01:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean