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 10511] - Ant not running with Xerces2J delivered with Ant
Date Fri, 19 Jul 2002 17:52:27 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=10511>.
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=10511

Ant not running with Xerces2J delivered with Ant





------- Additional Comments From stevel@apache.org  2002-07-19 17:52 -------
the <? xml ?> preprocessor stuff is optional in ant, though it is how xml
parsers distinguish utf-16 from utf-8 encodings (if the first few bytes look
like the unicode representation of <? then it is utf-16, else utf-8)

If you want to use anything other than UTF-8 or UTF-16 in any XML file, you must
include a header that states the encoding. This may seem inconvenient, but what
it does do is guarantee the same behavior, regardless of who is parsing your XML
file.

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