Error "Element '{urn:envelope}Envelope'" is shown when try to verify backup xml file

Refers to:

  • Plesk 9.x and below for Windows

Created:

2016-11-16 12:50:00 UTC

Modified:

2016-12-21 19:19:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error "Element '{urn:envelope}Envelope'" is shown when try to verify backup xml file

Symptoms

The following error may occur during validation procedure of a backup xml file (the method is described in the /en/8487 article):

    C:\\>"%plesk_bin%"\\xmllint.exe --noout --schema "%plesk_dir%\\PMM"\\plesk.xsd "%plesk_dir%\\Backup"\   est_info_1004281551.xml

file:///C:/Parallels/Plesk//Backup/test_info_1004281551.xml:3: element Envelope: Schemas validity error : Element '{urn:envelope}Envelope': No matching global declaration available for the validation root
C:\\Parallels\\Plesk\\\\Backup\ est_info_1004281551.xml fails to validate

Cause

It means that the signed backup was validated with not-signed schema "%plesk_dir%\\PMM"\\plesk.xsd .It is possible to remove such signature from the backup xml file to perform a correct validation.

Resolution

To remove the signature from the backup it is necessary to open the backup xml file (for example - %plesk_dir%\\Backup\ est_info_1004281551.xml ) with a text editor and remove a section which starts with the "<Envelope" text at its beginning and everything in the "<Data>...</Data>" tag at its end:

    <Data>...</Data>

%plesk_dir%\\Backup\ est_info_1004281551.xml
-----
...
<Envelope xmlns="urn:envelope"><Data> <- remove this line
...
...
...
</Data> <- remove this line and everything after it
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference>
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
...
-----

Then, after the repeated validation procedure, it is not necessary to put the signature back, it is not required by Parallels Plesk Panel.

Have more questions? Submit a request
Please sign in to leave a comment.