Hi Pierre,
On 7/6/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Hi jeremy,
I didn't get any answer for the commons-dev mailing list. But from what I have
seen in the API doc of XMLSchema, you're totally right: there is no way to
access attributes that aren't in the schema namespace.
But I just can't throw away woden for that,
good please don't - Woden is in incubation so is very much under
development, both from a code and community point of view, so we value
your input.
so I guess the only solution is to provide me with the raw XML-Schema type
declaration referenced frow within the WSDL declaration. This way I could
inject this xml segment in an other XML Schema parser.
Do you mean you'd like the DOM Element object. ie. add
public Element getSchemaElement();
method to the org.apache.woden.schema.Schema interface. The difficulty
is we've tried to steer clear of relying on any one particular XML
parsing technology - DOM vs SAX vs StAX. The irony now is we've
hardcoded to XmlSchema as our schema API and that isn't up to what you
need.
Perhaps you don't mind whether you have a DOM Element object or
something from the SAX or StAX world - but in any of these cases we
would be introducing a dependency in the Woden API on one parsing
technology. What I would prefer to do is fix XmlSchema.
Is it possible ?
Perhaps we could add the getSchemaElement() method to help out Pierre
until we fix XmlSchema ... what do the other woden-devs think?
Cheers,
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]