[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RBB-301521]: netCDF General - bug in ncdump -x string

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #RBB-301521]: netCDF General - bug in ncdump -x string
  • Date: Mon, 06 Aug 2007 14:08:12 -0600

Hi John,

Yes, "ncdump -x" definitely needs to properly handle XML escapes for
special characters '<', '>', and '"' in string attribute values.  I
will get a fix for this also into the next release.  It looks like the
independently implemented Java version of ncdump in our toolsUI
package has the same problem (except with "'" rather than '"', so it will
have to be fixed in both.  If a get a patch soon, I'll send it to you for
testing.

Thanks for reporting the problem.

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: RBB-301521
Department: Support netCDF
Priority: Normal
Status: Closed