Since the persistence_1_0.xsd schema specifically declares a targetNamespace, the
descriptors will have to match it to validate. The persistence_1_0.xsd docs say the
persistence namespace must be used as well:
"persistence_1_0.xsd" wrote :
| Persistence configuration files must indicate
| the persistence schema by using the persistence namespace:
|
|
http://java.sun.com/xml/ns/persistence
|
| 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">
| ...
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157221#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...