Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-963

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-963
    Summary: external-schemaLocation parser property requires absolute path to xsd 
despite being in the classpath
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Xerces2-J
 Components: 
             JAXP
             SAX
   Versions:
             2.6.0

   Assignee: 
   Reporter: Jonathan Asbell

    Created: Fri, 14 May 2004 6:28 AM
    Updated: Fri, 14 May 2004 6:28 AM
Environment: Windows 2000, j2sdk-1_4_2_04-windows-i586

Description:
our schemas are placed in the classpath inside the "classes" directory of a java 
project, and using a jdom "SAXBuilder"  with xerces underneath we do the following:

SAXBuilder saxbuilder = new SAXBuilder("org.apache.xerces.parsers.SAXParser");

saxbuilder.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation";,
 "http://www.whatever.com/myschema myschema.xsd");

Notice that "myschema.xsd" is correctly preceded by a space, and that it is not using 
an absolute path.

The parser is not able to locate the xsd file despite the fact that it is in the 
classpath




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to