Tim- 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 >> contain >> information of BEA Systems, Inc., its subsidiaries and >> affiliated >> entities, that may be confidential, proprietary, copyrighted >> and/or >> legally privileged, and is intended solely for the use of the >> individual >> or entity named in this message. If you are not the intended >> recipient, >> and have received this message in error, please immediately return >> this >> by email and then delete it. > If it looks familiar, it's because for starters I just copied the > sample. Once get something parseable, then I'll adapt 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 > assistance. > > > > > > org.apache.openjpa.persistence.PersistenceProviderImpl provider> > tutorial.Animal > tutorial.Dog > tutorial.Rabbit > tutorial.Snake > > value="jdbc:hsqldb:tutorial_database"/> > value="org.hsqldb.jdbcDriver"/> > > > > > > >