[ http://issues.apache.org/jira/browse/JDO-421?page=comments#action_12433632 ] Craig Russell commented on JDO-421: -----------------------------------
I wasn't trying to make a distinction between validation via xsd or dtd. I was only making the point that the fact that there is no dtd or xsd at the URI should not affect your ability to validate. Using an EntityResolver with your xml parser allows you to use the dtd or xsd reference as a key to use a cached local artifact instead of going online. I appreciate you have priorities other than these. > 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