HHH-15094 Remove duplicate DTD descriptor
This commit is contained in:
parent
d56032ab7f
commit
8c0bc94480
|
@ -84,11 +84,6 @@ public class LocalXmlResourceResolver implements javax.xml.stream.XMLResolver {
|
|||
return openUrlStream( MAPPING_DTD.localSchemaUrl );
|
||||
}
|
||||
|
||||
if ( LEGACY2_MAPPING_DTD.matches( publicID, systemID ) ) {
|
||||
DEPRECATION_LOGGER.recognizedObsoleteHibernateNamespace( LEGACY2_MAPPING_DTD.getIdentifierBase(), MAPPING_DTD.getIdentifierBase() );
|
||||
return openUrlStream( MAPPING_DTD.localSchemaUrl );
|
||||
}
|
||||
|
||||
if ( CFG_DTD.matches( publicID, systemID ) ) {
|
||||
return openUrlStream( CFG_DTD.localSchemaUrl );
|
||||
}
|
||||
|
@ -143,11 +138,6 @@ public class LocalXmlResourceResolver implements javax.xml.stream.XMLResolver {
|
|||
);
|
||||
|
||||
public static final DtdDescriptor LEGACY_MAPPING_DTD = new DtdDescriptor(
|
||||
"www.hibernate.org/dtd/hibernate-mapping",
|
||||
"org/hibernate/hibernate-mapping-3.0.dtd"
|
||||
);
|
||||
|
||||
public static final DtdDescriptor LEGACY2_MAPPING_DTD = new DtdDescriptor(
|
||||
"hibernate.sourceforge.net/hibernate-mapping",
|
||||
"org/hibernate/hibernate-mapping-3.0.dtd"
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue