javaee / jaxb-v2

Other
211 stars 99 forks source link

Add some way to specify where external references are to resolve to #339

Closed glassfishrobot closed 13 years ago

glassfishrobot commented 17 years ago

My specific problem is with W3X XML Schema imports, where the schemalocation might be an unreachable url, a no longer existant file on disk, etc., but where the actual schema is reachable in some other place (a resource in the classpath, a file elsewhere on disk, etc.) but as Kohsuke Kawaguchi indicated in https://jaxb.dev.java.net/servlets/ BrowseList?list=users&by=thread&from=706333 this might be classed as a larger issue of external references in general. There is currently no way to specify an alternative location for these schemas, and I would like that. Either some method of searching (by filename, or namespace, in the classpath or working directory) or explicitly naming the location for individual schemas.

Environment

Operating System: All Platform: All

Affected Versions

[2.1.2]

glassfishrobot commented 17 years ago

Reported by woldsom

glassfishrobot commented 17 years ago

woldsom said: It appears mshaffer55 beat me to it with issue 336; https://jaxb.dev.java.net/ issues/show_bug.cgi?id=336 which deals with the same problem I have.

glassfishrobot commented 17 years ago

Issue-Links: duplicates JAXB-336

glassfishrobot commented 17 years ago

Was assigned to snajper

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAXB-339

glassfishrobot commented 13 years ago

Marked as duplicate on Thursday, April 14th 2011, 8:41:56 pm