From: wisberg Date: Sun, 17 Aug 2003 19:10:22 +0000 (+0000) Subject: initial cut at resolver. Still getting default JDK 1.4 parser error "base URL requir... X-Git-Tag: V1_1_1~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8d15aaeb9819732b89e289be29bf199283f5d8a;p=aspectj.git initial cut at resolver. Still getting default JDK 1.4 parser error "base URL required for relative references. --- diff --git a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java index 63d324149..849c59096 100644 --- a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java +++ b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java @@ -1,6 +1,7 @@ /* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, - * 2002 Palo Alto Research Center, Incorporated (PARC). + * 2002 Palo Alto Research Center, Incorporated (PARC), + * 2003 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 @@ -9,16 +10,13 @@ * * Contributors: * Xerox/PARC initial implementation + * Wes Isberg resolver * ******************************************************************/ package org.aspectj.testing.xml; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.FileWriter; -import java.io.IOException; -import java.io.PrintWriter; +import java.io.*; +import java.util.Vector; import org.apache.commons.digester.Digester; import org.aspectj.bridge.AbortException; @@ -26,14 +24,10 @@ import org.aspectj.bridge.IMessage; import org.aspectj.bridge.ISourceLocation; import org.aspectj.bridge.MessageUtil; import org.aspectj.bridge.SourceLocation; -import org.aspectj.testing.harness.bridge.AbstractRunSpec; -import org.aspectj.testing.harness.bridge.AjcTest; -import org.aspectj.testing.harness.bridge.CompilerRun; -import org.aspectj.testing.harness.bridge.DirChanges; -import org.aspectj.testing.harness.bridge.IncCompilerRun; -import org.aspectj.testing.harness.bridge.JavaRun; +import org.aspectj.testing.harness.bridge.*; import org.aspectj.testing.util.RunUtils; import org.aspectj.util.LangUtil; +import org.xml.sax.*; import org.xml.sax.SAXException; /** @@ -73,7 +67,10 @@ public class AjcSpecXmlReader { public static final String FILE_LEADER = ""; - /** @return a String suitable as an inlined DOCTYPE statement */ + /** + * @deprecated + * @return a String suitable as an inlined DOCTYPE statement + */ public static String inlineDocType() { return "