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:
buraq 2004-04-02 11:37:23 +00:00
parent 1d04770d71
commit 9b68efaaee
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,4 @@
xmlParsing002.scala:13: in XML literal: whitespace expected
val y = <hello foo="bar"baz="baz"></hello>.toString();
^
one error found

View File

@ -0,0 +1 @@
-Xmarkup

View File

@ -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();
}