db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: [jira] Resolved: (JDO-318) TCK should include some metadata files defined using the xsd header
Date Fri, 03 Mar 2006 06:11:46 GMT
Hi Andy,

On Mar 2, 2006, at 8:56 PM, Andy Jefferson wrote:

>> Can someone from JPOX shed some light on this issue?
>
> JPOX (currently) validates against a DTD ... since that was always  
> the JDO 1 way.
> The XML parser being used (usually Crimson) still checks when no  
> DTD is specified
> and since there is no DTD in those xsd files, logs the errors. This  
> doesn't mean
> that JPOX will not run.

That's what I saw. JPOX runs but the log has errors. Not a big deal  
as far as I'm concerned.

> When we get time we'll have a look at sorting out
> validation against xsd's.
>
> I don't see how DTD validation is optional since it was the JDO 1  
> way and for
> backwards compatibility should be required.

The issue is that we decided that the XSD would be the normative  
definition of the schema and the DTD is illustrative.

Craig
>
>
> --
> Andy
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message