Opened 7 years ago

Closed 7 years ago

#1617 closed defect (fixed)

WCPS_Enquote CDATA for abstract syntax query in XML for special characters

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: petascope Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

The WCPS query which is contained in XML elements, e.g:
it needs to be enqouted with <![CDATA[ for c… ]]> to escape special characters and to be valid XML to build XML document, such as: >, <,… inside Petascope.

<?xml version="1.0" encoding="UTF-8" ?><ProcessCoveragesRequest xmlns="http://www.opengis.net/wcps/1.0" service="WCPS" version="1.0.0">  <query>    <abstractSyntax>
      for c in (test_mean_summer_airtemp) return count(c[Lat(-44.525:-20), Long(125:150)] > 15) </abstractSyntax>  </query></ProcessCoveragesRequest>

Change History (1)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.