[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|