got this error when working with advanced pdf pri...
# ask-stanley-ai
m
got this error when working with advanced pdf printouts? Element or attribute do not match QName production: QName::=(NCName':')?NCName. the line is where this is thrown is <td style="height: 55.9688px;" colspan="2"></td>
c
AI generated answer (using internal Slack threads):
From the provided threads, it seems that the error
Element or attribute do not match QName production: QName::=(NCName':')?NCName
is not directly mentioned. However, there are several issues related to advanced PDF templates and XML formatting that have been discussed. In the first thread, the user was getting an error related to XML to PDF conversion. The error was about a missing end-tag for the
td
element. The user later found that there was an extra
</img>
tag in their code which was causing the issue. Once they removed the extra tag, the issue was resolved. In the second thread, a user was having an issue with their advanced PDF template. When an invoice had multiple items, each item was being printed on a separate page. The user was using a simple table structure with no special CSS. The issue was not resolved in the provided thread. In the third thread, a user was getting a lexical error when trying to subtract the quantity fulfilled from the item quantity. Another user suggested a solution to calculate the remaining quantity to be picked on the picking ticket by using the expression
${item.quantity - item.quantityfulfilled}
. The user was informed that they might receive an error upon saving the template, but they should ignore it and save anyway. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812030435
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799539149
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793217123
Please provide your feedback on this answer.