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 30546] - XML Logger does not encode newlines in attributes
Date Wed, 10 Nov 2004 14:46:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30546>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30546

XML Logger does not encode newlines in attributes

sbailliez@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From sbailliez@apache.org  2004-11-10 14:46 -------
Stefan, as you said to me the problem (if any) relies in the XML processor.

It is pretty clear to me reading http://www.w3.org/TR/REC-xml/#AVNormalize
that newlines are perfectly valid but the data you get from the XML processor 
will depend if the attribute is declared as CDATA or NMTOKENS

As there is no DTD written for xml log file, the attribute is CDATA:
"All attributes for which no declaration has been read SHOULD be treated by a 
non-validating processor as if declared CDATA"

Resolving this bug as invalid.

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


Mime
View raw message