ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16455] New: - Ant should not require DTD file listed in DOCTYPE to exist
Date Mon, 27 Jan 2003 15:29:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16455>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16455

Ant should not require DTD file listed in DOCTYPE to exist

           Summary: Ant should not require DTD file listed in DOCTYPE to
                    exist
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: dan@greening.name


It's great that Ant can create its own DTD file using <antstructure>.  Ideally
Ant itself should create this file if it doesn't exist, and you can configure
the build.xml file to do that.  The problem is, if you have this line in your
build.xml file--

<!DOCTYPE project PUBLIC "-" "ant.dtd">

--and if ant.dtd doesn't exist, Ant will not run.  At the same time, if you
DON'T have that line in the build.xml file, various XML editing tools won't
automatically check your syntax, suggest tags, etc.

So, my suggestion is that you figure out how to turn off syntax checking when
reading the build.xml file, even when a DTD is explicitly specified.

Dan Greening
dan@greening.name

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message