summaryrefslogtreecommitdiff
path: root/test/files/xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/xml')
-rw-r--r--test/files/xml/lnk.scala2
-rw-r--r--test/files/xml/xhtml.scala4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/xml/lnk.scala b/test/files/xml/lnk.scala
index 7d4c927efe..d5f0295f9c 100644
--- a/test/files/xml/lnk.scala
+++ b/test/files/xml/lnk.scala
@@ -15,7 +15,7 @@ object Test {
// construct data using constructor (valid)
val c = Link(
- new AttributeSeq(
+ AttributeSeq.fromAttrs(
Attribute("","target","http://www.scala.org")
),
Name(n, scala.xml.Text("hello-link"))
diff --git a/test/files/xml/xhtml.scala b/test/files/xml/xhtml.scala
index 07cf3a1a74..2e3998732c 100644
--- a/test/files/xml/xhtml.scala
+++ b/test/files/xml/xhtml.scala
@@ -9,7 +9,7 @@ object Test {
def main( argv:Array[String] ) = {
val link = A(
- new AttributeSeq(
+ AttributeSeq.fromAttrs(
Attribute("","href","http://lampwww.epfl.ch")
),
Text("link")
@@ -26,7 +26,7 @@ object Test {
val page = Html(n,
Head(n,
Base(
- new AttributeSeq(
+ AttributeSeq.fromAttrs(
Attribute("","href","http://here.edu")
)),
Title(n,Text("a basic xhtml page"))),