Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support format xml file which haven't yet persisted at the disk#4585

Merged
w0rp merged 2 commits intodense-analysis:masterdense-analysis/ale:masterfrom
jiz4oh:masterjiz4oh/ale:masterCopy head branch name to clipboard
Aug 20, 2023
Merged

Support format xml file which haven't yet persisted at the disk#4585
w0rp merged 2 commits intodense-analysis:masterdense-analysis/ale:masterfrom
jiz4oh:masterjiz4oh/ale:masterCopy head branch name to clipboard

Conversation

@jiz4oh
Copy link
Copy Markdown
Contributor

@jiz4oh jiz4oh commented Aug 11, 2023

Hi, xmllint is invalid if the buffer is not saved for now. and the pr can fix it

Copy link
Copy Markdown
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

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

Does xmllint use the path to the file as part of its linting at all? If so, one thing we could try here is using the temporary filename if the buffer hasn't been saved yet, and the path to the file if it has been saved. We can have tests for each case.

@jiz4oh
Copy link
Copy Markdown
Contributor Author

jiz4oh commented Aug 16, 2023

@w0rp, fine, have updated the pr according your suggestion

@jiz4oh jiz4oh requested a review from w0rp August 16, 2023 02:46
Copy link
Copy Markdown
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

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

Cheers! 🍻

@w0rp w0rp merged commit 115ad17 into dense-analysis:master Aug 20, 2023
mnikulin pushed a commit to mnikulin/ale that referenced this pull request Nov 12, 2023
…e-analysis#4585)

Support format xml file which haven't yet persisted at the disk
cyyever pushed a commit to cyyever/ale that referenced this pull request Mar 24, 2025
…e-analysis#4585)

Support format xml file which haven't yet persisted at the disk
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.