You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/01/27 16:29:10 UTC
DO NOT REPLY [Bug 16455] New: -
Ant should not require DTD file listed in DOCTYPE to exist
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>