XML Schema Definition (XSD) for documentsignatures.xml

Miklos Vajna vmiklos at collabora.com
Wed Feb 12 08:16:03 UTC 2020


Hi Steve,

On Tue, Feb 11, 2020 at 08:12:43PM +0100, Steve Martin <Steve.Martin at ruhr-uni-bochum.de> wrote:
> In the file documentsignatures.xml the attribute xmlns defines a default
> namespace for the elements <Signature> and <document-signatures>. There is
> neither a reference by the attribute xmlns:xsi to the XML Schema Instance
> (XSI) namespace "http://www.w3.org/2001/XMLSchema-instance" nor a reference
> by the attribute xsi:schemaLocation to the XML schema file
> xmldsig-core-schema.xsd. As a result, the entire content of the
> documentsignatures.xml file should not be validated under any scheme. Is
> that correct?

Probably not, given that there is a
schema/odf1.2/OpenDocument-v1.X-os-dsig-schema.rng schema for that file
in the ODF spec. Are you interested in fixing this yourself, i.e. do you
need code pointers where to look?

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200212/e398fad6/attachment.sig>


More information about the LibreOffice mailing list