Skip to content

SI-9027 Parser no longer consumes space after multi XML elements#4185

Merged
gkossakowski merged 1 commit intoscala:2.11.xfrom
som-snytt:issue/9027
Dec 4, 2014
Merged

SI-9027 Parser no longer consumes space after multi XML elements#4185
gkossakowski merged 1 commit intoscala:2.11.xfrom
som-snytt:issue/9027

Conversation

@som-snytt
Copy link
Contributor

Once the parser starts looking for more , it should
still lookahead speculatively, leaving any remaining whitespace,
including newlines, after the last element.

@scala-jenkins scala-jenkins added this to the 2.11.5 milestone Dec 4, 2014
@gkossakowski
Copy link
Contributor

Missing JUnit test?

@som-snytt
Copy link
Contributor Author

I must emulate the clever test at 8d175b9

Once the parser starts looking for more <elements>, it should
still lookahead speculatively, leaving any remaining whitespace,
including newlines, after the last element.
@som-snytt som-snytt changed the title SI-9027 Parser eagerly consumes space on multi XML elements SI-9027 Parser no longer consumes space after multi XML elements Dec 4, 2014
@lrytz
Copy link
Member

lrytz commented Dec 4, 2014

PLS REBUILD/pr-scala@db8d5476537902760d33d29839afd813ff369ac8

@lrytz
Copy link
Member

lrytz commented Dec 4, 2014

LGTM!

@scala-jenkins
Copy link

(kitty-note-to-self: ignore 65590215)
🐱 Roger! Rebuilding pr-scala for db8d547. 🚨

gkossakowski added a commit that referenced this pull request Dec 4, 2014
SI-9027 Parser no longer consumes space after multi XML elements
@gkossakowski gkossakowski merged commit 3eddd4c into scala:2.11.x Dec 4, 2014
@rkrzewski
Copy link
Contributor

This problem affects sbt (sbt/sbt#1666, sbt/sbt#1738) and sbt is still using Scala 2.10. Would it be possible to have it backported?

@som-snytt
Copy link
Contributor Author

Sure. A quick test shows it introduces a mima bc error. Maybe I'll just start a PR and someone can tell me about whitelisting.

@ajozwik
Copy link

ajozwik commented Dec 5, 2014

+1

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