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 2002/04/08 04:27:46 UTC

DO NOT REPLY [Bug 7825] New: - poor error message on bad xml declaration (encoding)

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>