Talk:DOM meta system

From COLLADA Public Wiki
Jump to: navigation, search

Question on _contents

"Elements that contain complex content models or content models with an xs:choice will have an array (_contents) that stores the order of these children."

ANDY: I'm not following why this is different from the next array; the order is 1, 2, 3, and the ordinal values would be 1,2,3--obviously a subtlety or coding convention that I'm not catching.
ELLEN: This _contents array stores the elements, ie <triangles>, <polylist> (but as the DOM types domTriangles, etc. The next array stores an int value associated with the element. This int is used when adding new elements to maintain valid ordering according to the COLLADA schema.
ANDY: So if I'm reading this right, the original sentence should be "...will have an array (_contents) that stores these children in the order they appear in the schema"?? Elf 18:25, 26 March 2007 (PDT)

ELLEN: "...will have an array (_contents) that stores these children in an order that is valid according to the COLLADA schema" works well. Alorino 11:38, 27 March 2007 (PDT)

Question on particles

((ANDY, sorry, I don't know what a particle type is?)(ELLEN: Good point I don't think many people would get it. In XML a particle is a piece of data, ie an array 1 2 3 is 3 particles. ))

OK, ANDY, would you check that my rephrasing is correct: particle (XML)? Elf 18:31, 26 March 2007 (PDT)

Yes that looks good for me. Alorino 11:38, 27 March 2007 (PDT)