Hi,
I'm not sure if one should call the following a bug, but at least it seems like a misdirection which costs me an hour of debugging time.
The interface org.apache.xerces.xs.XSModel of the XML-Schema API has a convenience method getElementDeclaration(). The complete signature is:
public XSElementDeclaration getElementDeclaration(String namespace,
String name);
This means the first argument of the method should be the namespace and the second one the name of the wanted element declaration.
But the implementation in package org.apache.xerces.impl.xs.XSModelImpl is the other way round:
public XSElementDeclaration getElementDeclaration(String name,
String namespace)
Regards Franz-Josef Herpers
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
