persistence@glassfish.java.net

Re: version attribute missing in persistence_1_0.xsd

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Fri, 10 Feb 2006 09:01:39 +0530

Hi Mike,

Mike Keith wrote:

>Hi Sahoo,
>
>Someone brought this issue up a little while ago and they were added to both schemas.
>
>
I still don't see version attribute defined in persistence_1_0.xsd. Did
you send the incorrect file? I don't see it in orm schema as well.

Thanks,
Sahoo

>I have attached the most recent versions of the two schemas. Note that the orm one has not been thoroughly road-tested yet, we will do that this week, but take a look and see if you see any left-over bugs in it and let us know. Obviously the persistence team has not yet implemented to this version of the schema yet as they are just getting it now as well.
>
>-Mike
>
>
>
>>-----Original Message-----
>>From: Sanjeeb.Sahoo_at_Sun.COM [mailto:Sanjeeb.Sahoo_at_Sun.COM]On Behalf Of
>>Sanjeeb Kumar Sahoo
>>Sent: Wednesday, February 08, 2006 9:33 PM
>>To: Mike Keith
>>Cc: persistence_at_glassfish.dev.java.net; Ludovic Champenois
>>Subject: version attribute missing in persistence_1_0.xsd
>>
>>
>>Hi Mike,
>>
>>persistence schema does not actually define *version*
>>attribute although
>>the documentation of the schema tells about its use:
>>
>>/and indicate the version of the schema by
>>using the version element as shown below:
>><persistence xmlns="http://java.sun.com/xml/ns/persistence"
>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
>>http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
>>version="1.0">/
>>
>>It was recently raised in glassfish forum:
>>http://forums.java.net/jive/thread.jspa?threadID=12932
>>
>>Thanks,
>>Sahoo
>>
>>
>>
>>
>