users@glassfish.java.net

Toplink - accessing the default package for .xsd files

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Mar 2008 07:38:25 PST

Hi everyone,

I have been trying to use Toplink as part of a RCP app in Netbeans. For the most of it - it works, but I do get a warning with regards to Toplink:
[i]
INFO [org.netbeans.ProxyClassLoader]
java.lang.IllegalStateException: You are trying to access file: persistence_1_0.xsd from the default package. Please see http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package
at org.netbeans.ProxyClassLoader.printDefaultPackageWarning(ProxyClassLoader.java:500)
[....]
[/i]

It seems that the Persistence API schemas are located in the default package in the final library JAR and the Netbeans framework forbids that. (see: http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package )

My question is - is there a reason why the XSD/schema files cannot be put in a package
of their own? Should I log an RFE (if possible) about this?

Cheers,
Ino!~
[Message sent by forum member 'inorog' (inorog)]

http://forums.java.net/jive/thread.jspa?messageID=262911