cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Grodecki" <...@browsersoft.com>
Subject XMLDBTransformer blows up Saxon
Date Wed, 28 Jun 2006 15:02:43 GMT
The XMLDBTransformer blows up Saxon, which does not like null URIs. The 
following fix seems to work, replacing null in the first parameter to 
addAttribute with "". - Don

                // Report result
                AttributesImpl attrs = new AttributesImpl();
                attrs.addAttribute("", XMLDB_QUERY_OID_ATTRIBUTE,
                        XMLDB_QUERY_OID_ATTRIBUTE, "CDATA", this.key);
                attrs.addAttribute("", XMLDB_QUERY_TYPE_ATTRIBUTE,
                        XMLDB_QUERY_TYPE_ATTRIBUTE, "CDATA", 
this.operation);
                attrs.addAttribute("", XMLDB_QUERY_RESULT_ATTRIBUTE,
                        XMLDB_QUERY_RESULT_ATTRIBUTE, "CDATA", result); 



Mime
View raw message