You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by Tom Schindl <to...@gmx.at> on 2005/01/18 13:53:46 UTC

Patch for better diagnostics

When we pass an string with an length less than 4 to xs_get_styles_str 
we return undef which causes an error in the provider shown in this thread:

http://axkit.org/cgi-bin/ezmlm-cgi?3:mss:8455:200501:olieabalojlfdbdkfcoe

This patch only adds a carp-message because i have not searched until 
now if there are situations where an return of undef is desired although 
I don't think that's the case.

Tom