Talk:DOM meta system: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
particle question from embedded in text
Alorino (talk | contribs)
No edit summary
Line 5: Line 5:
::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.
::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"??  [[User:Elf|Elf]] 18:25, 26 March 2007 (PDT)
: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"??  [[User:Elf|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.


==Question on particles==
==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. ))''
''((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)]]? [[User:Elf|Elf]] 18:31, 26 March 2007 (PDT)
:OK, ANDY, would you check that my rephrasing is correct: [[particle (XML)]]? [[User:Elf|Elf]] 18:31, 26 March 2007 (PDT)

Revision as of 18:37, 27 March 2007

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.

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)