I looked into JXPath a few weeks ago and liked it a lot. But I find it to be a too big caliber for what I actually need (in my case the xpath expression are really trivial and I do not need to perform any sophisticated searches etc.) Also setting values with the use of those factories you describe below seemed too complicated.
Thanks,
Jan
-----Original Message-----
From: Aleksei Valikov [mailto:valikov_at_gmx.net]
Sent: Wednesday, September 08, 2004 11:39 AM
To: users_at_jaxb.dev.java.net
Subject: Re: Accessing JAXB mappings
Hi.
>> In any case, if you guys say that the schema mapping info is available
>> at schema compile time to add-ons, then I will have to write one that
>> would store the mappings somewhere where my framework can find it. I
>> think that would work just fine, I just thought that since JAXB needs
>> this info at runtime anyway (I saw some promising Grammar instances
>> flying around in the JAXBContext), it could be possible to get to that
>> information at runtime, but apparently it is not.
>> Thank you (and Aleksei for his add-on tip),.
>
>
> If you want to use JXPath with JAXB objects using original names, you'll
> need to generate and register JXPathBeanInfo instances for the classes
> generated by JAXB as well as generate an
> org.apache.commons.jxpath.AbstractFactory which must be based on JAXB's
> ObjectFactory.
> The tricky part is handling of heterogeneous collections.
p.s. Quite uneasy, I would say.
Bye.
/lexi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net