xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cybernd <cybe...@cybernd.at>
Subject Re: TranscoderInput(Document doc) throws ClassCastException
Date Tue, 17 Feb 2004 13:06:24 GMT
Thomas DeWeese schrieb:

>> It is also not ideal when the beheavior of the two constructors 
>> differs. So for example both methods should throw an exception or 
>> both ones should add the svg namespace when there is no other default 
>> namespace declared. 
>
>   No, this would be just wrong (violate specs).

Just beeing curiously.

Why is it no violation when the TranscoderInput(Reader) constructor 
guesses that the given content is inside the svg namespace?

cybi

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message