Opened 5 years ago
Closed 4 years ago
#118 closed defect (wontfix)
Parser silently skip syntax error
Reported by: | ssenesi | Owned by: | ymipsl |
---|---|---|---|
Priority: | minor | Component: | XIOS |
Version: | 2.0 | Keywords: | |
Cc: |
Description
When provided with an additional context structure with a syntax error like below (in bold face), the additional context is just dis-regarded
<context id="arpsfx">
<file_definition type="one_file" enabled="true" >
<file name="outputs/E3hr_CNRM-CM6-1_historical_r1i1p1f1_gr_%start_date%_%end_date%" output_freq="3h" append="true" split_freq="1mo" timeseries="exclusive" time_counter="record" time_counter_name="time">
time_stamp_name="creation_date" time_stamp_format="%Y-%b-%dT%H:%M:%SZ" >
<variable name="project_id" type="string" > CMIP6/CMIP </variable>
Change History (2)
comment:1 Changed 5 years ago by rlacroix
comment:2 Changed 4 years ago by ymipsl
- Resolution set to wontfix
- Status changed from new to closed
The XML file doesn't have the good structure, so the internal XML parser (rapidXML) is lost.
We don't want to modify RapidXML, which is considered as an external tool. At short time we don't plan to replace it with a other (and best) parser.
I can confirm this issue but I am not completely sure what we can do about it. I could be a bug in RapidXML.