This seems to be working now.

I had some namespace problems earlier, perhaps I didn't generate new classes after I updated the schema.

Dan Durkin wrote:

I was testing to see if keys and keyrefs are supported.

Can anyone point towards any info about this?


So far, I saved and instance doc with a key violation and then parsed the doc with an xmlBean without any error appearing.

I also parsed a valid instance doc and programatically set and duplicate key. Then called validate on the xmlbean representing the element where the key is defined. when I called the validate method, it didn't catch the duplicate key.

Are there any XmlOptions that need to be set to enforce keys and keyrefs being enforced.

Thanks for any help.

Dan


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

Reply via email to