[ http://issues.apache.org/jira/browse/JDO-421?page=comments#action_12434051 ] Craig Russell commented on JDO-421: -----------------------------------
Considering that this is only a JPOX issue, and the TCK doesn't need to validate schema, I think Andy's proposed patch to jdori-pmf.properties is a good solution. I'm not clear on all the changes to log4j.properties, though. Could you please annotate the changes? # JPOX loggers log4j.logger.JPOX = INFO, JPOX -log4j.additivity.JPOX = false +log4j.additivity.JPOX = false Ok, this removes a trailing blank. #log4j.logger.JPOX.JDO = INFO, JPOX #log4j.logger.JPOX.Cache = INFO, JPOX -#log4j.logger.JPOX.MetaData = INFO, JPOX +#log4j.logger.JPOX.MetaData = DEBUG, JPOX This appears to add more metdata information to the log, correct? #log4j.logger.JPOX.General = DEBUG, JPOX #log4j.logger.JPOX.Utility = INFO, JPOX #log4j.logger.JPOX.Transaction = INFO, JPOX @@ -64,7 +64,8 @@ #log4j.logger.JPOX.RDBMS = DEBUG, JPOX log4j.logger.JPOX.Enhancer = INFO, JPOX -log4j.logger.JPOX.SchemaTool = INFO, JPOX The following line (+2) seems to comment this line. Could you explain why? +log4j.additivity.JPOX.Enhancer = false I don't know what this change does. +#log4j.logger.JPOX.SchemaTool = INFO, JPOX > Enhancer log contains ERRORs, but output appears to be fine > ----------------------------------------------------------- > > Key: JDO-421 > URL: http://issues.apache.org/jira/browse/JDO-421 > Project: JDO > Issue Type: Bug > Components: tck20 > Affects Versions: JDO 2 maintenance release 1 > Reporter: Michelle Caisse > Priority: Minor > Attachments: jdori-pmf.properties.patch, log4j.properties.patch > > > There are numerous errors in the enhancer log, yet the enhancer runs to > completion and produces valid output. These messages should be warnings at > most. > 17:12:15,804 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "package.jdo" at line 9, column 47 : Document root element > "jdo", must match DOCTYPE root "null". - Please check your specification of > DTD and the validity of the MetaData XML that you have specified. > 17:12:15,804 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "package.jdo" at line 9, column 47 : Document is invalid: no > grammar found. - Please check your specification of DTD and the validity of > the MetaData XML that you have specified. > 17:12:16,104 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/api/instancecallbacks/package.jdo" at line > 8, column 47 : Document root element "jdo", must match DOCTYPE root "null". - > Please check your specification of DTD and the validity of the MetaData XML > that you have specified. > 17:12:16,104 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/api/instancecallbacks/package.jdo" at line > 8, column 47 : Document is invalid: no grammar found. - Please check your > specification of DTD and the validity of the MetaData XML that you have > specified. > 17:12:16,795 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/company/package.jdo" at line 5, column > 47 : Document root element "jdo", must match DOCTYPE root "null". - Please > check your specification of DTD and the validity of the MetaData XML that you > have specified. > 17:12:16,795 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/company/package.jdo" at line 5, column > 47 : Document is invalid: no grammar found. - Please check your specification > of DTD and the validity of the MetaData XML that you have specified. > 17:12:17,015 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/companyMapWithoutJoin/package.jdo" at > line 5, column 47 : Document root element "jdo", must match DOCTYPE root > "null". - Please check your specification of DTD and the validity of the > MetaData XML that you have specified. > 17:12:17,015 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/companyMapWithoutJoin/package.jdo" at > line 5, column 47 : Document is invalid: no grammar found. - Please check > your specification of DTD and the validity of the MetaData XML that you have > specified. > 17:12:17,055 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo" at line 5, > column 47 : Document root element "jdo", must match DOCTYPE root "null". - > Please check your specification of DTD and the validity of the MetaData XML > that you have specified. > 17:12:17,055 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo" at line 5, > column 47 : Document is invalid: no grammar found. - Please check your > specification of DTD and the validity of the MetaData XML that you have > specified. > 17:12:17,065 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an > error in file "org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo" at line > 5, column 47 : Document root element "jdo", must match DOCTYPE root "null". - > Please check your specification of DTD and the validity of the MetaData XML > that you have specified. > ... -- 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