[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: key/keyref access in Java....

  • From: dave <ceek63@y...>
  • To: Sjoerd Visscher <sjoerd@x...>
  • Date: Tue, 20 Nov 2007 22:36:31 -0800 (PST)

RE:  key/keyref access in Java....
 
 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@x...> 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@y...] 
> Sent: Monday, November 19, 2007 8:29
> To: xml-dev@l...
> Subject:  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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.