Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.4: New XML{Reader,Writer} methods #4138

Merged
merged 4 commits into from
Nov 24, 2024

Conversation

nielsdos
Copy link
Member

No description provided.

@nielsdos nielsdos added this to the PHP 8.4 milestone Nov 23, 2024
@nielsdos nielsdos 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. :)

reference/xmlreader/xmlreader/fromstream.xml Outdated Show resolved Hide resolved
reference/xmlwriter/xmlwriter/tomemory.xml Outdated Show resolved Hide resolved
Comment on lines +19 to +23
<refsect1 role="parameters">
<xi:include xpointer="xmlns(db=https://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=https://docbook.org/ns/docbook) xpointer(id('xmlwriter.openuri')/db:refsect1[@role='parameters']/*)">
<xi:fallback/>
</xi:include>
</refsect1>
<xi:include xpointer="xmlns(db=https://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 <[email protected]>
@nielsdos nielsdos 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