You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2017/01/25 13:29:38 UTC

[Bug 60641] New: warn about empty dtd in xmlvalidate

https://bz.apache.org/bugzilla/show_bug.cgi?id=60641

            Bug ID: 60641
           Summary: warn about empty dtd in xmlvalidate
           Product: Ant
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: hauser@acm.org
  Target Milestone: ---

inadvertently, location="${WEBINF.dir}/lib/struts-config_1_2.dtd" became an
empty file of 0 bytes length.

validating 

<dtd publicId="-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"

produced lots of kind of misleading errors.

Please warn and abort if the dtd location 
a) is missing altogether
b) unreadable
c) 0 == String.trim().length()

-- 
You are receiving this mail because:
You are the assignee for the bug.