summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2004-03-30 17:05:06 +0000
committerburaq <buraq@epfl.ch>2004-03-30 17:05:06 +0000
commite52e120e4b6c7696d6f41057117da17e8287df76 (patch)
tree841eb0f041950b949c867f7c66e87595c0befdfc /sources
parent653b1117a28915c515847dcf647190f45db63bf4 (diff)
downloadscala-e52e120e4b6c7696d6f41057117da17e8287df76.tar.gz
scala-e52e120e4b6c7696d6f41057117da17e8287df76.tar.bz2
scala-e52e120e4b6c7696d6f41057117da17e8287df76.zip
added todo
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/xml/Utility.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/scala/xml/Utility.scala b/sources/scala/xml/Utility.scala
index 5a814cc10b..ecd43ff331 100644
--- a/sources/scala/xml/Utility.scala
+++ b/sources/scala/xml/Utility.scala
@@ -33,7 +33,9 @@ object Utility {
s.toString();
}
- /** serializes an instance of Node to a string that contains well-formed XML **/
+ /** serializes an instance of Node to a string that contains well-formed XML
+ * @todo define a way to escape literal characters to &#xxx; references
+ */
def toXML( n:Node ):String = n match {
case Text( t ) =>
escape( t );