I am not sure what you mean by "sort of XML Schema parser". Are you using the 
Schema* APIs or XmlCursor or XmlObject or none?
I am going to assume that you use SchemaType and the parsing and compilation is 
actually done by XmlBeans. In this case, we unfortunately are not currently in 
the position to provide access to the Schema annotations for facets. I'll 
follow up on that for the next release.

Thanks,
Radu

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 5:57 AM
To: [email protected]
Subject: Problems accessing enumerations's annotations


Hi everybody,

I'm currently writing a sort of XML Schema parser for code-generation
needs ... it has not been too difficult to parse the "structure"
(elements, attributes, ...) of my schemas but I'm facing a lot of
difficulties with the annotations (documentation and appinfo) ... after
some searching on this list archive, I found a way to retrieve annotations
associated to my elements ... but now, I'm unable to retrieve annotations
associated to my enumerations (i just can get the enumerations values :-(
...), can someone point me to the way I can do this ? and, btw, isn't
there a "standard" way to retrieve annotations ? (since I'll do a heavy
use of them, I'd like to be able to retrieve them in a similar fashion for
each of them ...)

Regards,


Benoit.

PS : I was wondering if someone wrote or started to write a similar XML
Schema parser ? If so, I would be pleased to join to an on-going effort
:-)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to