if ( _docHandler != null )
throw new IllegalStateException( "Cannot set stylesheet after obtaining document handler" );
String uri = source.getSystemId();
try {
URILocationImpl location
= new URILocationImpl(source.getCharacterStream(), uri);
_stylesheet = _xslReader.read(location);
}
catch(Exception ex) {
throw new IllegalArgumentException(ex.toString());
}