error if whitespace missing betwe attr
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@2964 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
1d04770d71
commit
9b68efaaee
|
@ -0,0 +1,4 @@
|
|||
xmlParsing002.scala:13: in XML literal: whitespace expected
|
||||
val y = <hello foo="bar"baz="baz"></hello>.toString();
|
||||
^
|
||||
one error found
|
|
@ -0,0 +1 @@
|
|||
-Xmarkup
|
|
@ -0,0 +1,15 @@
|
|||
//############################################################################
|
||||
// XML Parsing
|
||||
//############################################################################
|
||||
// $Id$
|
||||
|
||||
import scala.testing.UnitTest._ ;
|
||||
|
||||
import scala.xml._ ;
|
||||
|
||||
object Test with Application {
|
||||
|
||||
// error: no whitespace between attributes
|
||||
val y = <hello foo="bar"baz="baz"></hello>.toString();
|
||||
|
||||
}
|
Loading…
Reference in New Issue