Skip to content

Commit acd268e

Browse files
committed
Fix broken Castor URLs in ref docs and mapping XML
Issue: SPR-10189 Backport-Commit: d40c8cf Conflicts: spring-framework-reference/src/oxm.xml
1 parent 9d77afc commit acd268e

File tree

3 files changed

+5
-5
lines changed
  • org.springframework.oxm/src
  • spring-framework-reference/src

3 files changed

+5
-5
lines changed

org.springframework.oxm/src/main/java/org/springframework/oxm/castor/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
/**
33
*
4-
* Package providing integration of <a href="http://www.castor.org/xml-mapping.html">Castor</a> within Springs O/X Mapping
4+
* Package providing integration of <a href="http://castor.codehaus.org/xml-mapping.html">Castor</a> within Springs O/X Mapping
55
* support
66
*
77
*/

org.springframework.oxm/src/test/resources/org/springframework/oxm/castor/mapping.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
2+
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.codehaus.org/mapping.dtd">
33
<mapping>
44
<description>Castor generated mapping file</description>
55
<class name="org.springframework.oxm.castor.Flights">
@@ -28,4 +28,4 @@
2828
xmlns:tns="http://samples.springframework.org/flight"/>
2929
</field>
3030
</class>
31-
</mapping>
31+
</mapping>

spring-framework-reference/src/oxm.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public class Application {
437437
though a mapping file can be used to have more control over the behavior of Castor.
438438
</para>
439439
<para>
440-
For more information on Castor, refer to the <ulink url="http://castor.org/xml-framework.html">
440+
For more information on Castor, refer to the <ulink url="http://castor.codehaus.org/xml-framework.html">
441441
<citetitle>Castor web site</citetitle></ulink>. The Spring integration classes reside in the
442442
<package>org.springframework.oxm.castor</package> package.
443443
</para>
@@ -461,7 +461,7 @@ public class Application {
461461
<para>
462462
Although it is possible to rely on Castor's default marshalling behavior, it might be necessary to have
463463
more control over it. This can be accomplished using a Castor mapping file. For more information, refer
464-
to <ulink url="http://castor.org/xml-mapping.html">Castor XML Mapping</ulink>.
464+
to <ulink url="http://castor.codehaus.org/xml-mapping.html">Castor XML Mapping</ulink>.
465465
</para>
466466
<para>
467467
The mapping can be set using the <property>mappingLocation</property> resource property, indicated

0 commit comments

Comments
 (0)