Skip to content

Official example signature validation does not pass #3

Description

@Gallaecio

Code:

import os

from lxml import etree
from sii.lib.validation import validate_signatures

print (validate_signatures(etree.parse(os.path.join(
    os.path.dirname(__file__), '..', 'doc', 'F60T33-ejemplo.xml'))))

Actual output:

[('#F60T33', False), ('#SetDoc', True)]

Expected output:

[('#F60T33', True), ('#SetDoc', True)]

Am I missing something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions