jochen 2005/05/09 12:20:00
Modified: src/xs/org/apache/ws/jaxme/xs/util DTDParser.java
XsDateFormat.java
Log:
- Disabled setNamespaceAware(false) in the DTDParser.
- Added ASF license to DTDParser.java
Revision Changes Path
1.3 +15 -1
ws-jaxme/src/xs/org/apache/ws/jaxme/xs/util/DTDParser.java
Index: DTDParser.java
===================================================================
RCS file:
/home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/util/DTDParser.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DTDParser.java 23 Sep 2004 22:23:35 -0000 1.2
+++ DTDParser.java 9 May 2005 19:20:00 -0000 1.3
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.ws.jaxme.xs.util;
import java.io.IOException;
@@ -345,7 +360,6 @@
InputSource isource = new InputSource(new StringReader(s));
SAXParserFactory spf = SAXParserFactory.newInstance();
spf.setValidating(false);
- spf.setNamespaceAware(false);
XMLReader xr = spf.newSAXParser().getXMLReader();
xr.setEntityResolver(new EntityResolver(){
public InputSource resolveEntity(String publicId,
String pSystemId) throws SAXException, IOException {
1.4 +0 -1
ws-jaxme/src/xs/org/apache/ws/jaxme/xs/util/XsDateFormat.java
Index: XsDateFormat.java
===================================================================
RCS file:
/home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/util/XsDateFormat.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XsDateFormat.java 18 Oct 2004 08:43:43 -0000 1.3
+++ XsDateFormat.java 9 May 2005 19:20:00 -0000 1.4
@@ -12,7 +12,6 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-
*/
package org.apache.ws.jaxme.xs.util;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]