CUAHSI / HydroCatalog

3 stars 0 forks source link

nwis dv remove extra escape sequence #45

Open xhqiao89 opened 7 years ago

xhqiao89 commented 7 years ago

twhitvine[CodePlex]
This issue should be forwarded to USGS.

GetValues response returns: ltvariableDescriptiongtStreamflow, ftamp#179;/slt/variableDescriptiongt

The intent is to display the superscript 3. The escape sequence for this is ³. However, the ampersand is being escaped as well, which results in this when viewed by a client:

Streamflow, ft³/s

The ampersand should not be escaped when it is part of an escape sequence. The XML should look like this:

ltvariableDescriptiongtStreamflow, ft³/slt/variableDescriptiongt