-
Notifications
You must be signed in to change notification settings - Fork 21
Represent empty XML elements in short form #1118
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-1118?orig=1
|
Geoffrey Alan Washburn (washburn) said: |
@paulp said: |
@paulp said: Assigning to myself, opened so I don't forget. |
@acruise said: |
@acruise said: Welcome to Scala version 2.8.0.r21213-b20100318230317 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_17).
Type in expressions to have them evaluated.
Type :help for more information.
scala> <hi>there <man/><how></how>'s it going?</hi>
res0: scala.xml.Elem = <hi>there <man/><how></how>'s it going?</hi> Please note that this version of the patch does not (yet) make any changes to tests, so some of them will probably fail until I update it tomorrow. If people are happy with this approach, I'll update the tests (and write a few more) and throw it out for wider comment. |
@acruise said: |
@acruise said: |
@paulbutcher said: xml.Utility.toXML(x, minimizeTags = true) I wonder why this is a method in Utility, and not on Node (hich would be much more convenient and discoverable)? |
@acruise said: acruise@acruise-PC ~/dev
$ scala
Welcome to Scala version -unknown- (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_31).
Type in expressions to have them evaluated.
Type :help for more information.
scala> <hithere/>
res0: scala.xml.Elem = <hithere/> |
@paulp said: |
@acruise said: |
@acruise said: |
@SethTisue said: |
current:
after patch:
The text was updated successfully, but these errors were encountered: