cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: XMLDBTransformer blows up Saxon
Date Thu, 29 Jun 2006 00:08:11 GMT
Don Grodecki escribió:
> 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); 
>
>   
Hi Don,

Thanks for the patch, would you responds this questions:

1-What said the xml specificationa about null?
2-Wich saxon version blows up with null?

Best Regards,

Antonio Gallardo.

Mime
View raw message