[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-6668) JaxbProcessor can't resolve hibernate-configuration-4.0.xsd
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Sep 20 12:53:39 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard reassigned HHH-6668:
-------------------------------------
Assignee: Emmanuel Bernard
> JaxbProcessor can't resolve hibernate-configuration-4.0.xsd
> -----------------------------------------------------------
>
> Key: HHH-6668
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6668
> Project: Hibernate Core
> Issue Type: Bug
> Affects Versions: 4.0.0.CR3
> Reporter: Christian Bauer
> Assignee: Emmanuel Bernard
> Priority: Trivial
>
> This code in JaxbProcessor.java
> schema = resolveLocalSchema( "/org/hibernate/hibernate-configuration-4.0.xsd" );
> should not use a leading slash, the result will always be null. I'm not sure if the schema-ified version of the config file should be used at all though, doesn't seem to be tested or documented.
> Or the ClassLoaderServiceImpl#locateResource(name) et al. methods should remove leading slashes of names.
> http://download.oracle.com/javase/1.5.0/docs/guide/lang/resources.html
> 'The methods in ClassLoader use the given String as the name of the resource without applying any absolute/relative transformation (see the methods in Class). The name should not have a leading "/".'
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list