http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2510

*** shadow/2510 Tue Jul 10 15:41:45 2001
--- shadow/2510.tmp.396 Tue Jul 10 16:25:08 2001
***************
*** 108,110 ****
--- 108,136 ----
  
  
  
+ 
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-07-10 16:25 
+-------
+ Have a look at lines 1981 + 1982 of the traversImport method in 
+ TraverseSchema.java in the 1.4.1 version. That�s lines 2047 + 2048 in the cvs 
+ tolevel version of that file.
+ 
+          DOMParser parser = new IgnoreWhitespaceParser();
+          parser.setEntityResolver( new Resolver() );
+ 
+ Here a new Parser and a new Resolver object are created, the new Parser and the 
+ new Resolver get no knowledge about the EntityResolver set at the parser. I 
+ don�t know much about this code yet but i think it should look like:
+ 
+          DOMParser parser = new IgnoreWhitespaceParser();
+          parser.setEntityResolver( new Resolver(fEntityResolver) );
+ 
+ And the resolveEntity method at that internal class should than first try to 
+ call this fEntityResolver and only if this returns null try to return any of 
+ it�s internally known resources.
+ 
+ Bye the way: the XMLSchema.xsd, XMLSchema.dtd, datatypes.dtd, xml.xsd and 
+ related files included in the testcase are more up to date and completer 
+ versions of XMLSchema schemas than the structures.dtd and datatypes.dtd in the 
+ same package.
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to