Skip to content

Conversation

@ndossche
Copy link
Member

No description provided.

@ndossche ndossche added this to the PHP 8.4 milestone Nov 23, 2024
@ndossche ndossche force-pushed the xml-reader-writer-84-methods branch from f6b22f9 to 52e17d1 Compare November 23, 2024 13:47
@ndossche ndossche force-pushed the xml-reader-writer-84-methods branch 2 times, most recently from fe7a8f9 to aba89a2 Compare November 23, 2024 14:04
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments, but mostly looks good. :)

Comment on lines +19 to +23
<refsect1 role="parameters">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('xmlwriter.openuri')/db:refsect1[@role='parameters']/*)">
<xi:fallback/>
</xi:include>
</refsect1>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel I need to change the section_check QA script so that

Suggested change
<refsect1 role="parameters">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('xmlwriter.openuri')/db:refsect1[@role='parameters']/*)">
<xi:fallback/>
</xi:include>
</refsect1>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('xmlwriter.openuri')/db:refsect1[@role='parameters']/.)">
<xi:fallback/>
</xi:include>

doesn't fail the CI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I had this first but indeed changed it. Ideally the QA script probably should run after xinclude processing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thing is the QA script is "dumb" and does text processing on the file content, no XML parsing or XInclude can actually happen :/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay, I didn't know that.
The approach we have to take to make it happy isn't too bad, just a bit unfortunate, so it's not really that important to fix I'd say.

Co-authored-by: Gina Peter Banyard <girgias@php.net>
@ndossche ndossche requested a review from Girgias November 24, 2024 10:26
@ndossche ndossche merged commit 2f92a27 into php:master Nov 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants