diff options
author | buraq <buraq@epfl.ch> | 2003-09-25 12:28:41 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2003-09-25 12:28:41 +0000 |
commit | 820f0b72264e69ecd22795c3f02a6a8403fee74a (patch) | |
tree | d080529e4f1733bf15f72570cc6bd6df1c4b762d /sources | |
parent | ff834c078d77fe75a8d01af94ad8f4493d738b3d (diff) | |
download | scala-820f0b72264e69ecd22795c3f02a6a8403fee74a.tar.gz scala-820f0b72264e69ecd22795c3f02a6a8403fee74a.tar.bz2 scala-820f0b72264e69ecd22795c3f02a6a8403fee74a.zip |
removed XERCES stuff, now using crimson by defa...
removed XERCES stuff, now using crimson by default, which is included in
jdk1.4
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/xml/FactoryAdapter.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/scala/xml/FactoryAdapter.scala b/sources/scala/xml/FactoryAdapter.scala index 578025f68b..594f265d0d 100644 --- a/sources/scala/xml/FactoryAdapter.scala +++ b/sources/scala/xml/FactoryAdapter.scala @@ -38,7 +38,8 @@ abstract class FactoryAdapter // default settings /** Default parser name. */ - val DEFAULT_PARSER_NAME = "org.apache.xerces.parsers.SAXParser"; + val DEFAULT_PARSER_NAME = "org.apache.crimson.parser.XMLReaderImpl"; // included in JDK1.4 + //val DEFAULT_PARSER_NAME = "org.apache.xerces.parsers.SAXParser"; /** Namespaces feature id (http://xml.org/sax/features/namespaces). */ val NAMESPACES_FEATURE_ID = "http://xml.org/sax/features/namespaces"; @@ -245,7 +246,8 @@ abstract class FactoryAdapter /** Warning.*/ override def warning(ex:SAXParseException ):Unit /*throws SAXException*/ = { - printError("Warning", ex); + // ignore warning, crimson warns even for entity resolution! + //printError("Warning", ex); } /** Error. */ override def error(ex:SAXParseException ):Unit |