diff options
author | Paul Phillips <paulp@improving.org> | 2009-11-30 19:24:14 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-11-30 19:24:14 +0000 |
commit | 9fe1f1503ffb3f4c83cbf61459e7021e1780907e (patch) | |
tree | fc652d574b03e47d55076ee78432fe0cc638bbcf /src/library | |
parent | 4559f45c7ede9f11c1108dc14df1676ce181d32c (diff) | |
download | scala-9fe1f1503ffb3f4c83cbf61459e7021e1780907e.tar.gz scala-9fe1f1503ffb3f4c83cbf61459e7021e1780907e.tar.bz2 scala-9fe1f1503ffb3f4c83cbf61459e7021e1780907e.zip |
Fix and test case for #2721.
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/xml/parsing/FactoryAdapter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/xml/parsing/FactoryAdapter.scala b/src/library/scala/xml/parsing/FactoryAdapter.scala index 838cee008f..328cddcc38 100644 --- a/src/library/scala/xml/parsing/FactoryAdapter.scala +++ b/src/library/scala/xml/parsing/FactoryAdapter.scala @@ -135,7 +135,7 @@ abstract class FactoryAdapter extends DefaultHandler with factory.XMLLoader[Node hStack push null var m: MetaData = Null - var scpe: NamespaceBinding = TopScope + var scpe: NamespaceBinding = scopeStack.top for (i <- 0 until attributes.getLength()) { val qname = attributes getQName i |