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 7825] New: - poor error message on bad xml declaration (encoding)
Date Mon, 08 Apr 2002 02:27:46 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=7825>.
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=7825

poor error message on bad xml declaration (encoding)

           Summary: poor error message on bad xml declaration (encoding)
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: joel@alpsgiken.gr.jp


XML declaration from build file:

<?xml version="1.0" encoding="Shift-JIS" ?>

(The encoding should have been "Shift_JIS".)

Gave me this error message:

-------------------
Buildfile: build.xml

BUILD FAILED

Error reading project file
-------------------

It would have been more help if the message could have at least said, "Error 
processing XML declaration" or some such. A better message would be 
"unrecognized encoding in XML declaration."

(I note that the declaration seems not to have been required in previous 
versions, as the Japanese magazine I was referring to did not show a 
declaration at all.)

--
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