[Om] tiny patch to CD XSLT code

Dima Sorkin dmitri.sorkin at intel.com
Tue Apr 26 15:31:58 CEST 2011


Hi, David.

  1. Thanks for committing a desired change.
  2. The file http://svn.openmath.org/OpenMath/www/cdfiles2/xsl/cdnames.xsl still has that Java call...
      It does not block any of my activities, just to notify ...

Thanks, regards,
  Dima.


> I'm sure I must have made that change at some point, but apparently not 
> checked in. document() gives system-defined (or in the case of saxon, 
> user-defined) behaviour if the file is missing. Better to use 
> doc-available() rather than document() or unparsed-text-available().
> 
> I've made this change
> 
> $ svn commit -m "use doc-available rather than java extension" cd.xsl
> Sending        cd.xsl
> Transmitting file data .
> Committed revision 1218.
> 
> 
> 
> I left the actual test as it was, although it seems a bit suspect 
> looking at it now. It seems to be saying link to a local copy of it is 
> there otherwise assume (without checking) that there is a file of the 
> right name in the standard CD repository.
> 


More information about the Om mailing list