Git Product home page Git Product logo

Comments (1)

jeperezhernandez avatar jeperezhernandez commented on June 26, 2024 1

Hello,

Unfortunately this error is due to the fact that the Peruvian Trusted List is a Trusted List v3: <tsl:TSLVersionIdentifier>3</tsl:TSLVersionIdentifier>

DSS however is primarily designed to handle Trusted Lists v5, which are the trusted lists used in the EU.

The problem is that there is a retro-compatibility between the Specifications of Trusted Lists v3 and the Specifications of Trusted Lists v5: In TL v3 the tsl:ElectronicAddress element MUST contain a "NonEmptyURI" whereas in TL v5 it must contain a "NonEmptyMultiLangURI".

It is this retro-compatibility issue that causes DSS to be unable to parse the Peruvian TL.

You can find the Spefications of TL v3 in ETSI TS 102 231 V3.1.2. In particular, you will find in clauses 5.3.5.2 and 5.4.3.2 that the format of an electronic address is a sequence of character strings.
And indeed in the companion XSD document you will find

<xsd:element name="ElectronicAddress" type="tsl:ElectronicAddressType"/>
<xsd:complexType name="ElectronicAddressType">
	<xsd:sequence>
		<xsd:element name="URI" type="tsl:NonEmptyURIType" maxOccurs="unbounded"/>
	</xsd:sequence>
</xsd:complexType>

On the other hand, you can find the Specifications of TL v5 in ETSI TS 119 612 v2.1.1. In there you will find in the same clauses 5.3.5.2 and 5.4.3.2 that the format of an electronic address is a sequence of multilingual character strings.
And indeed in the companion XSD document you will find

<!-- 2013-10. XML Schema CHANGE-->
<!-- ElectronicAddress changed to include MultilLan URIs for e-mails and web sites URIs as specified in TS 119 612-->
<xsd:element name="ElectronicAddress" type="tsl:ElectronicAddressType"/>
<xsd:complexType name="ElectronicAddressType">
	<xsd:sequence>
		<xsd:element name="URI" type="tsl:NonEmptyMultiLangURIType" maxOccurs="unbounded"/>
	</xsd:sequence>
</xsd:complexType>

Since the TL v3 is a historical standard, I would really recommend a migration to TL v5. Furthermore, this would improve the chance of mutual recognition with the EU. FYI: The European Commission has set up a pilot for the recognition of trust services with other countries, and there is a useful documentation included in the pilot: https://esignature.ec.europa.eu/intl-comp/dss-demo
There Commission also makes publicly available a "Trusted List Manager non-EU" suitable to create, sign and edit a Trusted List v5: https://ec.europa.eu/cefdigital/wiki/display/TLSO/Trusted+List+Manager+non-EU

Hope this helps,

Kind regards,

Jean-Emmanuel PEREZ HERNANDEZ

from dss-demonstrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.