Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339295

Summary: Missing DTD?
Product: [Tools] AspectJ Reporter: Eric Jain <eric.jain>
Component: LTWeavingAssignee: aspectj inbox <aspectj-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 1.6.10   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Eric Jain CLA 2011-03-08 17:48:36 EST
I have an aop.xml that starts with <!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD 1.5.0//EN" "http://www.eclipse.org/aspectj/dtd/aspectj_1_5_0.dtd">.

On startup the following is always printed to STDERR: "AspectJ - WARN - could not read DTD -//AspectJ//DTD 1.5.0//EN".

Looks like that warning is output from org.aspectj.weaver.loadtime.definition.DocumentParser right after  DocumentParser.class.getResourceAsStream("/aspectj_1_5_0.dtd") returns null.

That's not surprising, as there doesn't appear to be an /aspectj_1_5_0.dtd in org.aspectj.weaver_1.6.10.20101003133000.jar?
Comment 1 Eric Jain CLA 2011-04-14 13:49:25 EDT

*** This bug has been marked as a duplicate of bug 297907 ***