Browse Source

Fix broken Castor URLs in ref docs and mapping XML

Issue: SPR-10189
pull/216/merge
Chris Beams 12 years ago
parent
commit
d40c8cfc58
  1. 2
      spring-oxm/src/main/java/org/springframework/oxm/castor/package-info.java
  2. 4
      spring-oxm/src/test/resources/org/springframework/oxm/castor/mapping.xml
  3. 4
      src/reference/docbook/oxm.xml

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

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
/**
*
* Package providing integration of <a href="http://www.castor.org/xml-mapping.html">Castor</a> within Springs O/X Mapping
* Package providing integration of <a href="http://castor.codehaus.org/xml-mapping.html">Castor</a> within Springs O/X Mapping
* support
*
*/

4
spring-oxm/src/test/resources/org/springframework/oxm/castor/mapping.xml

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.codehaus.org/mapping.dtd">
<mapping>
<description>Castor generated mapping file</description>
<class name="org.springframework.oxm.castor.Flights">
@ -28,4 +28,4 @@ @@ -28,4 +28,4 @@
xmlns:tns="http://samples.springframework.org/flight"/>
</field>
</class>
</mapping>
</mapping>

4
src/reference/docbook/oxm.xml

@ -438,7 +438,7 @@ public class Application { @@ -438,7 +438,7 @@ public class Application {
though a mapping file can be used to have more control over the behavior of Castor.
</para>
<para>
For more information on Castor, refer to the <link xl:href="http://castor.org/xml-framework.html">
For more information on Castor, refer to the <link xl:href="http://castor.codehaus.org/xml-framework.html">
<citetitle>Castor web site</citetitle></link>. The Spring integration classes reside in the
<package>org.springframework.oxm.castor</package> package.
</para>
@ -462,7 +462,7 @@ public class Application { @@ -462,7 +462,7 @@ public class Application {
<para>
Although it is possible to rely on Castor's default marshalling behavior, it might be necessary to have
more control over it. This can be accomplished using a Castor mapping file. For more information, refer
to <link xl:href="http://castor.org/xml-mapping.html">Castor XML Mapping</link>.
to <link xl:href="http://castor.codehaus.org/xml-mapping.html">Castor XML Mapping</link>.
</para>
<para>
The mapping can be set using the <property>mappingLocation</property> resource property, indicated

Loading…
Cancel
Save