You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Marcus Crafter <cr...@dresdnerbank.de> on 2000/11/03 15:14:02 UTC

[C2] esql NPE patch

Hi All,

	Hope everything is going well.
	
	Attached is a patch to esql.xsl to fix a NPE in esql:get-columns when
	the database returns a null element.
	
	At the moment it's a simple fix, null's are returned as blank strings.

	I could imagine other ways of representing null elements though
	(custom string ? or no tag altogether), or perhaps an empty tag is
	fine ?

	What does everyone think ? Any other ideas ?

	Cheers,

	Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@osa.de
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750