Skip to content

errore DOMDocument::loadXML(): Start tag expected, '<' not found in Entity #5

@fferraro87

Description

@fferraro87

Ciao,
ho utilizzato questo codice :
$xml = simplexml_load_file($file_locale); $feValidator = new Validator(); $feValidator->assertValidXml($xml->asXML());
e ricevo questo errore :

 Fatal error: Uncaught SlamFatturaElettronica\Exception\InvalidXsdStructureComplianceException: DOMDocument::schemaValidateSource(): Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{http://www.w3.org/2000/09/xmldsig#}Signature' does not resolve to a(n) element declaration. in C:\xampp2\htdocs\roberta\vendor\slam\php-validatore-fattura-elettronica\lib\Validator.php on line 36

Come posso risolverlo?

Grazie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions