[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] key/keyref access in Java....
- From: dave <ceek63@yahoo.com>
- To: Sjoerd Visscher <sjoerd@xopus.com>
- Date: Tue, 20 Nov 2007 22:36:31 -0800 (PST)
Given an XSD schema with key/keyref constraints,
which XML processing to use- JAXB or JAXP?
JAXB is great because I get Marshal/Unmarshal
capability. But JAXB 1.0 doesn't seem to support
Key/Keyref constraint validation. JAXP seems to
support this Key constraint validation in XSD. But,
one has to implement Marshal/Unmarshal which doesn't
come free here.
Obviously in my case, I do need to construct Java
object for the incoming XML and vice-versa.
-D
--- Sjoerd Visscher <sjoerd@xopus.com> wrote:
> Hi,
>
> We want to implement this functionality in Xopus, so
> I recently asked
> the same thing:
>
http://lists.xml.org/archives/xml-dev/200708/msg00209.html
>
> I got no response, so for now I have implemented
> what I suggested there.
> But neither of those methods is what you are asking
> for. If anything
> comes up I would like to implement that in Xopus
> too.
>
> Greetings,
>
> Sjoerd Visscher
> Xopus: http://xopus.com
> +31 (0)70 - 3699563
>
http://maps.google.com/?q=xopus+den+haag+nederland&z=18&t=h
>
> -----Original Message-----
> From: dave [mailto:ceek63@yahoo.com]
> Sent: Monday, November 19, 2007 8:29
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] key/keyref access in Java....
>
>
> I know key/keyref constraints' use at the XSD
> level.
> Can you access these key/keyrefs at the Java
> application level?
> For e.g. I need to find the number of Keyrefs
> referencing the Key in my Java app?
>
> Basically, I am trying to understand if I can
> leverage these constraints at the Java level (like
> accessing selector/field values, xpath expressions,
> etc).
>
> Or are these constraints are only used at the XSD
> level and XML validation?
>
> In short, how would one leverage these key/keyrefs
> at
> the Java application level?
>
> Thanks for any pointers.
>
> -D
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]