sandygao    2003/03/25 06:11:37

  Modified:    java/src/org/apache/xerces/impl/xs/traversers
                        XSDHandler.java
  Log:
  Fixing a bug for PSVI. Schema document locations weren't correctly reported.
  Many thanks to Stef Epardaud for reporting the bug and the proposed patch.
  
  Revision  Changes    Path
  1.64      +2 -2      
xml-xerces/java/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java
  
  Index: XSDHandler.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- XSDHandler.java   20 Mar 2003 20:14:22 -0000      1.63
  +++ XSDHandler.java   25 Mar 2003 14:11:36 -0000      1.64
  @@ -580,7 +580,7 @@
           // store the document and its location
           // REVISIT: don't expose the DOM tree
           //sg.addDocument(currSchemaInfo.fSchemaDoc, 
(String)fDoc2SystemId.get(currSchemaInfo));
  -        sg.addDocument(null, (String)fDoc2SystemId.get(currSchemaInfo));
  +        sg.addDocument(null, (String)fDoc2SystemId.get(currSchemaInfo.fSchemaDoc));
               
           fDoc2XSDocumentMap.put(schemaRoot, currSchemaInfo);
   
  
  
  

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

Reply via email to