RE: error when constructing XSModelGroupImpl and XSObjectListImpl - invalid particle count

2008-11-13 Thread David.Ratcliffe
t: Re: error when constructing XSModelGroupImpl and XSObjectListImpl - invalid particle count Hi David, The schema you've attached is invalid. The value of the "ref" attribute is a QName. Since you have no declaration for the default namespace (i.e. xmlns="http://foo.com/#"

Re: error when constructing XSModelGroupImpl and XSObjectListImpl - invalid particle count

2008-11-13 Thread Michael Glavassevich
Hi David, The schema you've attached is invalid. The value of the "ref" attribute is a QName. Since you have no declaration for the default namespace (i.e. xmlns="http://foo.com/#";) in your schema those QNames have no namespace and thus point to nonexistent declarations which couldn't be referre

error when constructing XSModelGroupImpl and XSObjectListImpl - invalid particle count

2008-11-13 Thread David.Ratcliffe
In using Xerces2-J 2.9.0 to parse and query XML Schema components in memory (ref: http://xerces.apache.org/xerces2-j/faq-xs.html#faq-9), I have noticed what seems to be a bug when parsing the attached schema, test.xsl. The instance of org.a