Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 3737 invoked from network); 14 Dec 2005 20:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Dec 2005 20:01:50 -0000 Received: (qmail 87601 invoked by uid 500); 14 Dec 2005 20:01:49 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 87565 invoked by uid 500); 14 Dec 2005 20:01:48 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 87917 invoked by uid 99); 13 Dec 2005 23:14:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <791939525.1134515625539.JavaMail.jira@ajax.apache.org> Date: Wed, 14 Dec 2005 00:13:45 +0100 (CET) From: "Al Lofus (JIRA)" To: ojb-dev@db.apache.org Subject: [jira] Created: (OJB-81) The repository_internal.xml contains invalid XML Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The repository_internal.xml contains invalid XML ------------------------------------------------ Key: OJB-81 URL: http://issues.apache.org/jira/browse/OJB-81 Project: OJB Type: Bug Versions: 1.0.3 Reporter: Al Lofus Priority: Minor We run our repository.xml through a SAX parser with validation turned on against the repository.dtd each time before deploying our project. After updating to OJB 1.3, the validation started spitting out an error: ERROR: Got parse exception at 62,5 in repository_internal.xml: org.xml.sax.SAXParseException: Attribute value "org.apache.ojb.odmg.NamedRootsMap$NamedEntry" of type ID must be a name. Basically it is complaining about this snippet in the repository_internal.xml: ... After a little investigation, I saw that the problem is that the definition of class-descriptor in the repository.dtd states that the attribute class is of type ID. Type ID in the XML specification says that the value of ID types must follow the rules for Name. The Name type does not allow for $. Since the class-descriptor for OJB named roots refers to a private class, it contains a $. This results in invalid XML. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org