relaton / relaton-iso

RelatonIso: ISO Standards metadata using the BibliographicItem model
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

No title fetching for ISO 10303-507:2000 #105

Closed opoudjis closed 2 years ago

opoudjis commented 2 years ago

Cited in ISO-10303-2

andrew2net commented 2 years ago

@opoudjis the https://www.iso.org/search.html doesn't find any document for ISO 10303-507:2000 reference. It finds ISO 10303-507:2001.

bib = RelatonIso::IsoBibliography.get 'ISO 10303-507:2001'
[relaton-iso] ("ISO 10303-507:2001") fetching...
[relaton-iso] ("ISO 10303-507:2001") found ISO 10303-507:2001
=> #<RelatonIsoBib::IsoBibliographicItem:0x00007fb9fd38e0c8
...

bib.title
=> #<RelatonBib::TypedTitleStringCollection:0x00007fb9fd38df38
 @array=
  [#<RelatonBib::TypedTitleString:0x00007fb9fd27d990
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd27d878
      @content="Industrial automation systems and integration",
      @format="text/plain",
      @language=["en"],
      @script=["Latn"]>,
    @type="title-intro">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd27d788
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd27d6c0 @content="Product data representation and exchange", @format="text/plain", @language=["en"], @script=["Latn"]>,
    @type="title-main">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd27d5d0
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd27d3c8
      @content="Part 507: Application interpreted construct: Geometrically bounded surface",
      @format="text/plain",
      @language=["en"],
      @script=["Latn"]>,
    @type="title-part">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd27d0d0
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd27cef0
      @content=
       "Industrial automation systems and integration - Product data representation and exchange - Part 507: Application interpreted construct: Geometrically bounded surface",
      @format="text/plain",
      @language=["en"],
      @script=["Latn"]>,
    @type="main">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd3ac7a8
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd3ac640
      @content="Systèmes d'automation industrielle et intégration",
      @format="text/plain",
      @language=["fr"],
      @script=["Latn"]>,
    @type="title-intro">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd3ac500
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd3ac438
      @content="Représentation et échange de données de produits",
      @format="text/plain",
      @language=["fr"],
      @script=["Latn"]>,
    @type="title-main">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd3ac398
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd3ac2d0
      @content="Partie 507: Établissement interprété d'application: Surface limitée géométriquement",
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd3ac2d0
      @content="Partie 507: Établissement interprété d'application: Surface limitée géométriquement",
      @format="text/plain",
      @language=["fr"],
      @script=["Latn"]>,
    @type="title-part">,
   #<RelatonBib::TypedTitleString:0x00007fb9fd3ac0f0
    @title=
     #<RelatonBib::FormattedString:0x00007fb9fd3ac050
      @content=
       "Systèmes d'automation industrielle et intégration - Représentation et échange de données de produits - Partie 507: Établissement interprété d'application: Surface limitée géométriquement",
      @format="text/plain",
      @language=["fr"],
      @script=["Latn"]>,
    @type="main">]>
ronaldtse commented 2 years ago

This is strange, I can't find part 507 in the STEPmod repository that refers to year 2000:

data/resource_docs/geometrically_bounded_surface/resource.xml

<resource 
    name="geometrically_bounded_surface"
   part="507"
   version="1"
   wg.number="563"
   wg.number.express="564"
   status="IS"
   publication.year="2001"

I do see that there are two references that refers to 507 in ISO 10303-2: https://github.com/metanorma/iso-10303-2/search?q=507

Screenshot 2022-02-07 at 7 51 38 PM

Not sure where the 2000 reference came from.

opoudjis commented 2 years ago

Yeah, as I say in the linked issue, I have no idea where that reference came from; if that references list is machine generated, then it reflects an error in source code.