Kesara Rathnayake

Results 178 comments of Kesara Rathnayake

Updated `created` timestamp to show hours and minutes with `Z` instead of `+00:00`. Example: ``` ```

v3 seems to behave in a similar way.

`xml2rfc` doesn't warn/notify about this yet. We have to add a warning when the footer component gets truncated. Also, the current footer generation is buggy: ``` Jethanandani & Angel ReiExpiresg10...

With the next release (planned for early next week) xml2rfc will be moving to `pypdf>=3.2.1`. See https://github.com/ietf-tools/xml2rfc/pull/953 I don't see this error happening with `pypdf==3.2.1`.

Maybe the normalization function in https://github.com/ietf-tools/xml2rfc/blob/main/test.py#L503 can be do more to fix this case. FWIW I've tested the `xml2rfc==v3.15.3` with `PyPDF2==2.11.2` and could not recreate this issue. (Not on Debian)...

Thanks @MartinThoma @dkg, I think that the issue you are having might be due to WeasyPrint rather than PyPDF2. What's the WeasyPrint version in your test environment?

That `elements.pdf` file does have extra spaces for me with both `PyPDF2==2.11.2` and `pypdf==3.2.1`. ``` Table 1 : Header , footer , colspan and rowspan ``` But annoyingly, With both...

The root cause of this is that when `DTD` is present `lxml` seems to add duplicate namespace attribute entries. lxml bug: https://bugs.launchpad.net/lxml/+bug/2048693

PDF files on the datatracker are not generated by xml2rfc and follow a different template, that's why you cannot see these issues in the datatracker.

> Is the same fix needed for all the other uses of `.tjoin()`? If not, why not? `tjoin()` is used to render `reference`, `references -> name`, `section -> name`, `table...