Marc,

I understand and agree with your statements. On the other side anyone using
Maven has to have an internet connection now and then. Using a catalog file
does help to work with a local copy for DTD. Two solutions:

1. Deploy the DTD as additional artifact to Maven Central and reference the
repo1 location.

2. What about copying the DTD automatically next to the XML output?

Googling for DTDs is IMO no good solution either :-)

I have switched reply-to to the developers list as not every user might be
interested in this discussion.

Regards
Mirko
-- 
Sent from my mobile
On Dec 20, 2013 2:04 AM, "Marc R. Hoffmann" <[email protected]>
wrote:

>  Hi Mirko,
>
> I don't like picking DTDs from internet URLs due to two reasons
>
> 1) As a user you get builds wich only work with internet connectivity.
> 2) As a provider you might end up with heavy load from scripted clients.
> That's why e.g. w3c.org blocks most public DTD/Schema URLs.
>
> Cheers,
> -marc
>
> On 19.12.13 16:57, Mirko Friedenhagen wrote:
>
> Marc,
>
> maybe we should just add the complete URL as reference, then it is my
> understanding that XML processors pick up the DTD automatically.
>
> Regards
> Mirko
> --
> Sent from my mobile
> On Dec 19, 2013 4:17 PM, "Marc R. Hoffmann" <[email protected]>
> wrote:
>
>> Hi,
>>
>> simply copy the DTD file next to the xml report. The DTD is part of the
>> JaCoCo distribution or can ben downloaded here:
>>
>>   http://www.eclemma.org/jacoco/trunk/coverage/report.dtd
>>
>> Cheers,
>> -marc
>>
>> On 19.12.13 09:38, [email protected] wrote:
>>
>>> Hey,
>>>
>>> the probleam is ant-xpath fails because the report.xml has
>>> <!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd">
>>> line in it, without doctype line it wortks perfectly, im using
>>> andariel-1.2.3 for xpath.
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "JaCoCo and EclEmma Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to