InseeFr / InseeFr/Eno

Warning in DDI to fodt transformation

Open
#662 1 comment 0 reactions 1 assignee Claimed by @nsenave View on GitHub
Area: Tech
Dominant language
Java
Stars
17
Forks
26
PR merge metrics
No merged PRs in 30d

Description

When running a mvn test, there is a warning in the log:

```
[main] WARN f.i.e.t.x.EnoErrorListener - Ambiguous rule match for /DDIInstance/s:StudyUnit[1]/d:Instrument[1]/d:ControlConstructReference[1]/d:Sequence[1]/d:ControlConstructReference[1]/d:Sequence[1]/d:ControlConstructReference[3]/d:IfThenElse[1]/d:ThenConstructReference[1]
Matches both "element(Q{ddi:datacollection:3_3}ThenConstructReference)[fn:empty(...)]" on line 319 of
and "element(Q{ddi:datacollection:3_3}ThenConstructReference)[fn:not(...)]" on line 291 of
net.sf.saxon.trans.XPathException: Ambiguous rule match for /DDIInstance/s:StudyUnit[1]/d:Instrument[1]/d:ControlConstructReference[1]/d:Sequence[1]/d:ControlConstructReference[1]/d:Sequence[1]/d:ControlConstructReference[3]/d:IfThenElse[1]/d:ThenConstructReference[1]
Matches both "element(Q{ddi:datacollection:3_3}ThenConstructReference)[fn:empty(...)]" on line 319 of
and "element(Q{ddi:datacollection:3_3}ThenConstructReference)[fn:not(...)]" on line 291 of
at net.sf.saxon.trans.XPathException.fromXmlProcessingError(XPathException.java:164) ~[Saxon-HE-12.3.jar:?]

(...)

at fr.insee.eno.test.TestDDI2FODT.simpleDiffTest(TestDDI2FODT.java:45) ~[test-classes/:?]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.