Closed pr-apes closed 1 year ago
@pgundlach,
compiling the following layout with sp --dummy (PDF sample from https://raw.githubusercontent.com/speedata/boxesandglue-examples/main/simpletable/result.pdf):
sp --dummy
<Layout xmlns="urn:speedata.de:2009/publisher/en" xmlns:sd="urn:speedata:2009/publisher/functions/en"> <PDFOptions displaymode="attachments"/> <AttachFile filename="result.pdf" description="whatever" type="application/pdf"/> <Record element="data"> <PlaceObject> <Textblock> <Paragraph> <Value select="sd:sha512(doc('result.pdf'))"/> </Paragraph> </Textblock> </PlaceObject> </Record> </Layout>
Gives fine results, unless description attribute name is replaced with name.
description
name
I'm afraid that now <AttachFile> requires description attribute value to be set.
<AttachFile>
As far as I know, this may be a bug.
Many thanks for your help.
Many thanks for the fix.
@pgundlach,
compiling the following layout with
sp --dummy
(PDF sample from https://raw.githubusercontent.com/speedata/boxesandglue-examples/main/simpletable/result.pdf):Gives fine results, unless
description
attribute name is replaced withname
.I'm afraid that now
<AttachFile>
requiresdescription
attribute value to be set.As far as I know, this may be a bug.
Many thanks for your help.