[ 
http://issues.apache.org/jira/browse/JDO-421?page=comments#action_12433630 ] 
            
Andy Jefferson commented on JDO-421:
------------------------------------

It isn't a question of having xsd cached somewhere. JPOX metadata parsing does 
not support validation using XML Schema, only via DTD. If you want to 
contribute support for XSD validation in JPOX that would be welcome and there's 
a JIRA already existing for it. We have other priorities right now.

> 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

        

Reply via email to