Re: Substitution group

2009-12-18 Thread Vincent Herrmann
Hello, I tried it. It's work perfectly =) Thanks a lot, have a nice day. Le 17 déc. 09 à 18:02, Michael Glavassevich a écrit : Hi Vincent, Have you tried XSModel.getSubstitutionGroup(XSElementDeclaration) [1]? Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/x

Re: Substitution group

2009-12-17 Thread Michael Glavassevich
Hi Vincent, Have you tried XSModel.getSubstitutionGroup(XSElementDeclaration) [1]? Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/XSModel.html#getSubstitutionGroup (org.apache.xerces.xs.XSElementDeclaration) Michael Glavassevich XML Parser Development IBM Toron

Substitution group

2009-12-17 Thread Vincent Herrmann
Hello. I have a problem with xerces for parse XML Schema. My problem is to get children from a XSElementDeclaration. I can do it in most of case, but there is one I can't. This is a part from my XML Schema: type="xs:string"/> When I have the XSElementDeclaration tei_model.HistoCPart, how

Re: Is this a substitution group problem?

2008-11-20 Thread Michael Glavassevich
Hi Siarhei, Your XML instance document is invalid. The "graph" element in your document has the namespace "urn:graph", however if you look at the element declaration in your schema it has no namespace (because it was locally declared and elementFormDefault="unqualified"). An element with a namespa