Skip to content

Comments

Fix issue 4509 - XML parser in std.xml throws TagException if the attr value is put in apostrophes.#4567

Merged
quickfur merged 3 commits intodlang:masterfrom
aG0aep6G:4509
Jul 6, 2016
Merged

Fix issue 4509 - XML parser in std.xml throws TagException if the attr value is put in apostrophes.#4567
quickfur merged 3 commits intodlang:masterfrom
aG0aep6G:4509

Conversation

@aG0aep6G
Copy link
Contributor

@aG0aep6G aG0aep6G commented Jul 5, 2016

This is a resubmission of #4064 which @CoderAbhishek wasn't able to finish. I've added the requested asserts in a separate commit. CC @quickfur.

If this gets merged, #4064 can be closed.

cosmo-kramer and others added 2 commits July 5, 2016 23:06
Fixes issue 4509 - XML parser in std.xml throws TagException if the
attr value is put in apostrophes.
Also remove extra trailing newlines at the end of the file.
@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
4509 XML parser in std.xml throws TagException if the attr value is put in apostrophes.

@Hackerpilot
Copy link
Contributor

@aG0aep6G
Copy link
Contributor Author

aG0aep6G commented Jul 6, 2016

Added a commit to actually do the parsing so that the asserts are actually run :S

@aG0aep6G
Copy link
Contributor Author

aG0aep6G commented Jul 6, 2016

I don't get the Travis CI failure. It says:

std/internal/phobosinit.d(26:12)[warn]: Local imports should specify the symbols being imported to avoid hiding local symbols.

std.internal.phobosinit has been added in #4493, but Travis CI has been green there. And it's green on other PRs.

@schveiguy
Copy link
Member

Not only that, but the warning is inaccurate. That is the perfect place to do a wholesale import of another module. Why was that warning added as a requirement?

@quickfur
Copy link
Member

quickfur commented Jul 6, 2016

Probably need to rebase on HEAD to get the phobosinit fix included in this PR.

Other than that, LGTM.

@aG0aep6G
Copy link
Contributor Author

aG0aep6G commented Jul 6, 2016

Triggered a re-run of Travis CI. Is green now.

@quickfur
Copy link
Member

quickfur commented Jul 6, 2016

Auto-merge toggled on

@quickfur quickfur merged commit d231d78 into dlang:master Jul 6, 2016
@aG0aep6G aG0aep6G deleted the 4509 branch July 7, 2016 12:56
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.

6 participants