eclipse-ee4j / jaxb-ri

Jaxb RI
https://eclipse-ee4j.github.io/jaxb-ri/
BSD 3-Clause "New" or "Revised" License
203 stars 111 forks source link

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

Closed Tomas-Kraus closed 13 years ago

Tomas-Kraus 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]

Tomas-Kraus commented 6 years ago
Tomas-Kraus commented 17 years ago

@glassfishrobot Commented Reported by woldsom

Tomas-Kraus commented 17 years ago

@glassfishrobot Commented 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.

Tomas-Kraus commented 17 years ago

@glassfishrobot Commented Issue-Links: duplicates JAXB-336

Tomas-Kraus commented 17 years ago

@glassfishrobot Commented Was assigned to snajper

Tomas-Kraus commented 7 years ago

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

Tomas-Kraus commented 13 years ago

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