pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

Mismatching reference ids #128

Closed fabiobatalha closed 6 years ago

fabiobatalha commented 6 years ago

Reference id in the body:

        <p>D'un point de vue psychodynamique, en général, l’impulsivité est  plutôt abordée sous l’angle du passage à l'acte (<xref ref-type="bibr" id="IDd68b9f40-2713-4554-98ef-a4f5cd511d90">A. Raoult, 2006</xref>).  </p>

Reference id:

      <ref id="R48">
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Raoult</surname>
              <given-names>PatrickAnge</given-names>
            </name>
          </person-group>
          <article-title>Clinique et psychopathologie du passage à l\textquotesingleacte</article-title>
          <source>Bulletin de psychologie</source>
          <year>2006</year>
        </element-citation>
      </ref>

This behaviour lead to references mismatching in Texture

screenshot from 2018-03-02 13-40-04

axfelix commented 6 years ago

Thanks! We've done a lot of work on this part over the past few years and it should be a very rare issue when it does occur.

In this case, it looks like it's not a mismatch (which would be more concerning, since we shouldn't ever be seeing false positives here) but just a failed match (the xref element would have a rid if it actually matched; the id is more of a pkey for the xref than a link to the references themselves), which is an acceptable failure.