Re: arrayDef & draft simstd comments

2008-03-13 Thread Bruce Jackson
Rob, I need to find some time to review your wonderfully rich suggestions in depth, but I had a rationale for adding a "dimensions" attribute: without it, a parser will have to count the number of elements to determine how many dimensions are required. Plus, it serves as a check to make

RE: arrayDef & draft simstd comments

2008-03-13 Thread Linse, Dennis J.
Bruce, I'm with Rob. Any (good) XML parser automatically counts the number of subelements of a particular type and returns that number when requested (e.g. getLength() in Xerces-C used by Janus) or allows you to iterate through the list without (e.g. "for i in vars:" in various XML modules in Pyt