diff options
author | buraq <buraq@epfl.ch> | 2005-04-19 09:01:14 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2005-04-19 09:01:14 +0000 |
commit | d02399bd06ea475e7b6774bb1b4a8eb95e129bc7 (patch) | |
tree | 776018b85109139b0a70a01386b6a21cae45ff57 | |
parent | 6508005cfad58cfbee97c878b7e96725e49ffcc5 (diff) | |
download | scala-d02399bd06ea475e7b6774bb1b4a8eb95e129bc7.tar.gz scala-d02399bd06ea475e7b6774bb1b4a8eb95e129bc7.tar.bz2 scala-d02399bd06ea475e7b6774bb1b4a8eb95e129bc7.zip |
hello - attroibutes were wrongly grounded at null
-rw-r--r-- | sources/scala/xml/parsing/MarkupParser.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/xml/parsing/MarkupParser.scala b/sources/scala/xml/parsing/MarkupParser.scala index 33668bbd55..e7bf6d3efd 100644 --- a/sources/scala/xml/parsing/MarkupParser.scala +++ b/sources/scala/xml/parsing/MarkupParser.scala @@ -69,7 +69,7 @@ abstract class MarkupParser { */ def xAttributes(pscope:NamespaceBinding): Pair[MetaData,NamespaceBinding] = { var scope: NamespaceBinding = pscope; - var aMap: MetaData = null; + var aMap: MetaData = Null; while( xml.Parsing.isNameStart( ch )) { val pos = this.pos; @@ -138,7 +138,7 @@ abstract class MarkupParser { if(xml.Parsing.isNameStart( ch )) xAttributes(pscope) else - Pair(null, pscope) + Pair(Null, pscope) } Triple(qname, aMap, scope); } |