Why are you using the orm xmlns? Rather than:
I think you need to have:
Try that and let us know if you still get the same error.
On Nov 6, 2006, at 1:34 PM, Tim Holloway wrote:
Abe White wrote:
The error message is from the XML parser; we don't have much
control over it. How about posting your persistence.xml?
Notice: This email message, together with any attachments, may
information of BEA Systems, Inc., its subsidiaries and
entities, that may be confidential, proprietary, copyrighted
legally privileged, and is intended solely for the use of the
or entity named in this message. If you are not the intended
and have received this message in error, please immediately return
If it looks familiar, it's because for starters I just copied the
sample. Once get something parseable, then I'll adapt it.
by email and then delete it.
I looked over the openjpa sources, and it appears that the XML is
being handled in nonvalidating mode. I think that attaching the DTD
might help. A custom entity resolver allows you to embed the DTD
into the JAR instead of making the dreaded trip to the Internet.
I don't claim the be the all-master of Java XML parsing, but I've
gotten more than my share of practice in it lately, if I can be of
<property name="openjpa.ConnectionUserName" value="sa"/>
<property name="openjpa.ConnectionPassword" value=""/>
<property name="openjpa.Log" value="DefaultLevel=WARN,