You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrey Razumovsky <ra...@gmail.com> on 2009/11/27 12:54:52 UTC
Do we need DTDs?
Hello,
Do we need those DTDs in src/main/dtd? We already have XSD schema, which is
a replacement, but it is only for map files (?). The reason I'm asking is
that for a long time (don't remember, when it started) Eclipse can't
validate those DTDs and gives me three irritating errors (one in each DTD),
and I can't find how to turn off that.
It'd be good if we had XSD for cayenne.xml and driver.xml as well, and
dropped DTDs (BTW I they are for 1.2 and obsolete anyways).
Andrey
Re: Do we need DTDs?
Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 27/11/09 10:54 PM, Andrey Razumovsky wrote:
> Do we need those DTDs in src/main/dtd? We already have XSD schema, which is
> a replacement, but it is only for map files (?). The reason I'm asking is
> that for a long time (don't remember, when it started) Eclipse can't
> validate those DTDs and gives me three irritating errors (one in each DTD),
> and I can't find how to turn off that.
> It'd be good if we had XSD for cayenne.xml and driver.xml as well, and
> dropped DTDs (BTW I they are for 1.2 and obsolete anyways).
XSD (schema) has pretty much replaced DTDs, so I think they should be removed. I'd be happy to create the schemas for the other files.
Ari
--
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
Re: Do we need DTDs?
Posted by Andrey Razumovsky <ra...@gmail.com>.
Great. For now, I've found how to fix those dtds
2009/11/27 Aristedes Maniatis <ar...@maniatis.org>
> On 27/11/09 11:07 PM, Andrus Adamchik wrote:
>
>> (btw cayenne.xml is about to change - parent "domains" element will be
>> gone, as in 3.1 there will only be a single domain per configuration)
>>
>
>
> Oh yes. In that case, I will not do anything now.
>
>
>
> Ari
>
> --
>
> -------------------------->
> Aristedes Maniatis
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
>
--
Andrey
Re: Do we need DTDs?
Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 27/11/09 11:07 PM, Andrus Adamchik wrote:
> (btw cayenne.xml is about to change - parent "domains" element will be
> gone, as in 3.1 there will only be a single domain per configuration)
Oh yes. In that case, I will not do anything now.
Ari
--
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
Re: Do we need DTDs?
Posted by Andrus Adamchik <an...@objectstyle.org>.
(btw cayenne.xml is about to change - parent "domains" element will be
gone, as in 3.1 there will only be a single domain per configuration)
On Nov 27, 2009, at 2:05 PM, Andrus Adamchik wrote:
> +1
>
> On Nov 27, 2009, at 1:54 PM, Andrey Razumovsky wrote:
>
>> Hello,
>>
>> Do we need those DTDs in src/main/dtd? We already have XSD schema,
>> which is
>> a replacement, but it is only for map files (?). The reason I'm
>> asking is
>> that for a long time (don't remember, when it started) Eclipse can't
>> validate those DTDs and gives me three irritating errors (one in
>> each DTD),
>> and I can't find how to turn off that.
>> It'd be good if we had XSD for cayenne.xml and driver.xml as well,
>> and
>> dropped DTDs (BTW I they are for 1.2 and obsolete anyways).
>>
>> Andrey
>
>
Re: Do we need DTDs?
Posted by Andrus Adamchik <an...@objectstyle.org>.
+1
On Nov 27, 2009, at 1:54 PM, Andrey Razumovsky wrote:
> Hello,
>
> Do we need those DTDs in src/main/dtd? We already have XSD schema,
> which is
> a replacement, but it is only for map files (?). The reason I'm
> asking is
> that for a long time (don't remember, when it started) Eclipse can't
> validate those DTDs and gives me three irritating errors (one in
> each DTD),
> and I can't find how to turn off that.
> It'd be good if we had XSD for cayenne.xml and driver.xml as well, and
> dropped DTDs (BTW I they are for 1.2 and obsolete anyways).
>
> Andrey