metanorma / pubid-iec

PubID spec and implementation for IEC deliverables
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

List of IDs to parse #118

Open andrew2net opened 12 months ago

andrew2net commented 12 months ago

The pubid-iec fails to parse these IDs. We have these IDs in the dataset This issue blocks https://github.com/relaton/relaton-iec/issues/55

List of IDs ``` IEC 60598-1:1992/ISH1:1996 IEC 60598-2-20:1996/ISH1:2001 IEC Technology Report Ontology standards in smart cities:2023 IEC 60335-2-24:2010/AMD2:2017/ISH1:2018 IEC 61000-4-3:2006/ISH1:2008 IEC 60079-11:2011/ISH4:2019 IEC White Paper Edge intelligence:2017 IEC 60287-1-1:1994+AMD1:1995+AMD2:2001 CSV/COR1:2006 CISPR 15:2018/ISH1:2019 IEC Technology Report Cyber security:2019 IEC 61547:2009/ISH1:2013 IEC White Paper QIT:2021 IEC Trend Report Digital healthcare:2021 IEC 60364-4-41:2005+AMD1:2017 CSV/COR1:2018 IEC 61400-1:2005+AMD1:2010 CSV/COR1:2016 IEC 60598-2-20:1996/ISH3:2003 IEC 60335-2-27:2009+AMD1:2012+AMD2:2015 CSV/COR1:2015 IEC Technology Report Ontology standards in smart ci:2023 IEC 60601-1:2005/ISH3:2013 IEC 62040-2:2016/ISH1:2018 IEC 60601-2-33:2022/ISH1:2023 IEC 60335-1:2010+AMD1:2013 CSV/COR1:2014 IEC Technology Report Future sustainable transport:2022 IEC 60825-2:2000/ISH1:2001 IEC 60079-11:2006/ISH1:2019 IEC Trend Report DC power distribution:2022 IEC 61000-6-4:2006/AMD1:2010/ISH1:2011 IEC 60598-1:1999/ISH27:2001 IEC 60335-1:1991/ISH2:1994 IEC 62776:2014/ISH1:2018 IEC 61326-3-2:2008/ISH1:2013 IEC 60598-2-5:1998/ISH1:2001 IEC 60079-31:2008/ISH1:2022 IEC 60598-2-6:1994/ISH1:2001 IEC 60947-3:2008+AMD1:2012 CSV/COR1:2012 IEC White Paper EES:2011 IEC 60079-29-1:2016/ISH2:2019 IEC 60335-2-89:2010/ISH1:2014 CISPR 15:2005/ISH2:2013 IEC/ASTM 62885-7:2020 IEC 60335-2-2:2009/ISH1:2016 CISPR 14-2:2015/AMD1/FRAG3: IEC 61869-11:2017/ISH1:2021 IEC 60335-2-35:1991/ISH2:1991 IEC 60079-0:2004/ISH1:2008 IEC 60825-1:2014/ISH2:2017 IEC 60079-28:2015/ISH1:2019 IEC Technology Report LVDC:2017 IEC 60079-29-1:2016/ISH1:2019 IEC 60079-11:2011/ISH1:2014 IEC ACEE 01:2018 CISPR 22:2008/ISH1:2009 IEC 60721-3-3:1994+AMD1:1995+AMD2:1996 CSV/COR1:2008 IEC 60079-0:2011/ISH4:2019 IEC 60335-1:2001/AMD1:2004/ISH1:2007 IEC 60079-25:2010/ISH1:2023 IEC 60079-14:2013/ISH1:2017 IEC 60529:1989+AMD1:1999+AMD2:2013 CSV/COR1:2013 IEC/ASTM 62885-6:2018 IEC 60079-0:2011/ISH3:2018 IEC 60079-0:2011/ISH1:2013 IEC 60825-2:2004/ISH1:2008 IEC 60601-1:2005/AMD1:2012/ISH1:2021 IEC 62061:2005+AMD1:2012+AMD2:2015 CSV/COR1:2015 IEC 60079-7:2015/ISH1:2016 IEC 60332-3-24:2018/ISH1:2019 IEC 60669-1:1998/ISH1:2012 IEC White Paper AI:2018 IEC 60079-0:1998/ISH1:2008 CISPR 15:2013/ISH1:2013 IEC 60079-0:2011/ISH2:2014 IEC 60598-1:2003/ISH1:2004 IEC 60695-2-4/1:1991/AMD1:1994 IEC 60335-1:2020/ISH1:2021 IEC 60529:1989+AMD1:1999 CSV/COR3:2009 IEC White Paper Microgrids:2014 IEC 60529:1989+AMD1:1999+AMD2:2013 CSV/COR2:2015 IEC HANDB1:1983 IEC 60695-2-1/1:1994 IEC 60947-1:1999+AMD1:2000+AMD2:2001 CSV/COR1:2002 IEC 60067d:1960 IEC 60601-1:2005/ISH1:2008 CISPR 25:2002/ISH1:2007 CISPR 14-1:2016/ISH1:2017 IEC CENT-CHAL:2006 IEC 60079-1:2001/ISH1:2007 IEC TS 60695-2-4/2:1994 IEC 60067c:1958 IEC GIORGI:2001 IEC 61000-6-3:2006/AMD1:2010/ISH1:2011 IEC 60695-2-1/3:1994 IEC White Paper IoT Platform:2016 IEC 60067a:1955 IEC White Paper IoT:WSN:2014 IEC 60730-2-8:2018+AMD1:2021 CSV/COR1:2022 IEC 60598-1:1999/ISH1:2001 IEC 60947-2:2016+AMD1:2019 CSV/COR1:2019 IEC Technology Report City information modelling:2021 IEC 60079-0:2017/ISH2:2019 IEC ACEE 02:2018 IEC 61643-1:1998+AMD1:2001 CSV/COR1:2003 IEC White Paper Future Factory:2015 IEC White Paper Zero carbon power system:2022 IEC 60079-11:2011/ISH3:2016 IEC 60079-1:2014/ISH1:2020 IEC White Paper Stable grid:2018 IEC Trend Report Virtual sensors:2022 IEC 60335-2-7:2008+AMD1:2011 CSV/COR1:2012 IEC 60947-4-1:2018/ISH1:2020 IEC 60335-1:2010/AMD2:2016/ISH1:2020 IEC 60335-2-2:1983/ISH1:1991 IEC 60285-/1:1989 IEC 60335-2-15:1995/ISH1:1996 IEC 60335-2-3:1993/ISH1:1996 IEC 60669-2-1:2002/ISH1:2011 IEC 60598-1:1999/ISH25:2001 IEC 62271-1:2017/ISH1:2021 IEC 60076-11:2018/ISH1:2020 IEC 60079-0:2007/ISH2:2019 IEC 60998-1:2002/ISH1:2005 IEC WT 01:2001 IEC 61000-3-2:2005+AMD1:2008+AMD2:2009 CSV/COR1:2009 IEC White Paper GEI:2016 IEC 61347-1:2000/ISH1:2006 IEC 60335-2-9:2008+AMD1:2012 CSV/COR1:2013 IEC 60079-11:2011/ISH2:2016 IEC 60079-1:2003/ISH1:2007 IEC 60079-31:2013/ISH1:2022 IEC 60669-2-1:2002/ISH2:2012 IEC 60079-28:2006/ISH2:2019 IEC 60335-2-24:2010/AMD2:2017/ISH2:2020 IEC 60601-1:2005/ISH2:2009 IEC 60825-1:2007/ISH1:2009 IEC 60825-1:2014/ISH1:2017 IEC 61010-1:2010/ISH1:2013 IEC 60079-25:2003/ISH1:2023 IEC 61000-4-11:2004/ISH1:2010 IEC White Paper Smart Cities:2014 IEC 61810-1:2015/ISH1:2023 IEC 60079-28:2006/ISH1:2014 IEC 60809:2014/AMD1:2017/ISH1:2017 IEC 61000-3-12:2011/ISH1:2012 IEC 60335-2-5:2012/ISH1:2019 IEC 60601-1-2:2007/ISH1:2010 IEC 60309-3:1994/FRAG1: IEC 61158-3to6:2000 CISPR 14-1:2016/AMD1/FRAG5: IEC Technology Report Nanotechnology:2013 CISPR 14-1:2016/ISH2:2017 IEC 60598-1:1996/ISH1:1997 IEC 60598-2-20:1996/ISH2:2003 IEC 61481:2001+AMD1:2002 CSV/COR1:2002 IEC 60335-1:2001+AMD1:2004 CSV/COR1:2005 IEC ACEE 03:2020 IEC 60068-2-10a:1969 CISPR 16-1-1:2015/ISH1:2018 IEC 60598-1:1999/ISH26:2001 IEC 60598-1:2014/ISH1:2016 IEC 61010-031:2015+AMD1:2018 CSV/COR1:2018 IEC 62052-31:2015/ISH1:2019 IEC 60086-4:2019/ISH1:2020 IEC 60695-2-4/1:1991 IEC 60695-2-1/2:1994 IEC/ASTM 62885-7:2020+AMD1:2022 CSV IEC 60079-0:2007/ISH1:2008 IEC 60825-1:2007/ISH2:2011 IEC 61009-1:2010+AMD1:2012 CSV/COR1:2012 IEC 60598-2-3:1993/ISH1:2001 IEC 60432-1:1993/ISH1:1996 IEC 60695-2-1/1:1994/COR1:1995 IEC 60079-11:2011/ISH5:2019 IEC 61869-2:2012/ISH1:2022 IEC 60068-2-2a:1976 IEC 60067e:1962 IEC 60695-2-1/0:1994 IEC 60350-1:2016/ISH1:2021 IEC 60335-2-5:1992/ISH1:1996 IEC 60529:1989+AMD1:1999 CSV/COR1:2003 IEC 60664-1:1992+AMD1:2000+AMD2:2002 CSV/COR1:2002 IEC 60335-2-13:2002+AMD1:2004 CSV/COR1:2006 IEC 60079-0:2017/ISH1:2019 IEC White Paper Asset Management:2015 IEC 60335-2-35:2002+AMD1:2006 CSV/COR1:2007 IEC 60825-2:2004/ISH2:2018 IEC White Paper Safety in the future:2020 IEC/ASTM 62885-7:2020/AMD1:2022 IEC 60601-1:2005+AMD1:2012 CSV/COR1:2012 CISPR 22:2008/ISH2:2010 IEC 60079-29-1:2007/ISH1:2009 IEC 61000-3-2:2018/AMD1:2020/ISH1:2021 IEC 60335-1:1976/ISH1:1976 CISPR 22:2008/ISH3:2012 IEC 60529:1989+AMD1:1999 CSV/COR2:2007 IEC White Paper RE-EES:2012 CISPR 15:2005/ISH1:2013 IEC 60695-2-4/0:1991 IEC 60335-1:1991/ISH1:1993 IEC 61558-1:1997/ISH1:2003 IEC White Paper Semantic interoperability:2019 CISPR 15:2013/ISH2:2013 IEC 60079-11:2011/ISH6:2019 IEC 62549:2011/ISH1:2015 IEC 60079-15:2010/ISH1:2016 ISO/IEC TS 22237-5:2018 IEC 61000-4-15:2010/ISH1:2017 IEC 60079-14:2013/ISH2:2020 IEC White Paper Energy Challenge:2010 ISO/IEC DIR 1 IEC SUP ISO/IEC DIR IEC SUP ISO/IEC DIR 2 IEC ```
opoudjis commented 1 month ago

This issue has been blocking https://github.com/relaton/relaton-cli/issues/109 > https://github.com/relaton/relaton-cli/issues/109 > https://github.com/metanorma/metanorma-standoc/issues/773 for one year now.

The chaos and lack of coordination of these projects have allowed this to go unnoticed. That does not make it any more acceptable. Kindly action promptly, @mico.

mico commented 1 month ago

@andrew2net some identifier looks broken:

identifiers with FRAG:

IEC 60309-3:1994/FRAG1:
CISPR 14-2:2015/AMD1/FRAG3:
CISPR 14-1:2016/AMD1/FRAG5:

maybe something are missing after ":" here, usually identifiers with FRAG have "ED" after it, e.g. IEC 60050-121/AMD2/FRAG1 ED2

Other identifiers:

IEC 60285-/1:1989
IEC 61158-3to6:2000
andrew2net commented 1 month ago

identifiers with FRAG:

IEC 60309-3:1994/FRAG1:

It looks like missed ED1, IEC 60309-3:1994/FRAG1: ED1

CISPR 14-2:2015/AMD1/FRAG3:

CISPR 14-2:2015/AMD1/FRAG3: ED2

CISPR 14-1:2016/AMD1/FRAG5:

CISPR 14-1/AMD1/FRAG5 ED5

maybe something are missing after ":" here, usually identifiers with FRAG have "ED" after it, e.g. IEC 60050-121/AMD2/FRAG1 ED2

I get these IDs using API, don't change anything. Ping @ronaldtse

Other identifiers:

IEC 60285-/1:1989

https://webstore.iec.ch/publication/14530

IEC 61158-3to6:2000

This doesn't come from the API anymore. Maybe it was fixed on the IEC side. Remove it from the list

mico commented 1 month ago

IEC 60285-/1:1989

https://webstore.iec.ch/publication/14530

@andrew2net Does it means I should parse this identifier? It clearly looks wrong.

andrew2net commented 1 month ago

@mico This document is published on the IEC website. So yes, we should handle the ID somehow. @ronaldtse can you ask IEC if the mistake is on their side or not? Maybe we can just remove the slash, can't we?

ronaldtse commented 1 month ago

I have asked IEC. @andrew2net which of these are still failing? I think most should now pass?

andrew2net commented 1 month ago

@ronaldtse the IEC 60285-/1:1989 ID is unusual. It seems there is no other like this. And there is no IEC 60285-1:1989 ID on the IEC website. Maybe the slash in the ID is a mistake?

mico commented 1 month ago

@andrew2net all identifier in this list currently parsable, except IEC 60285-/1:1989 and identifiers with FRAG that are not complete, like CISPR 14-2:2015/AMD1/FRAG3: What should we do with these FRAG identifiers?

andrew2net commented 1 month ago

Let's remove the slash IEC 60285-/1:1989 => IEC 60285-1:1989. There is no conflict with other doc on the IEC website. If somebody raises a question about it later, we'll return to this issue. Let's do the same with FRANGs: IEC 60309-3:1994/FRAG1: => IEC 60309-3:1994/FRAG1:ED1 CISPR 14-2:2015/AMD1/FRAG3: => CISPR 14-2:2015/AMD1/FRAG3:ED2 CISPR 14-1:2016/AMD1/FRAG5: => CISPR 14-1:2016/AMD1/FRAG5:ED5