fixes for daily build target
misc updates to ref documentation use signed NNS assembly based on spring.net key sync vs.net 2003 solution
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<para>This appendix details the use of XML Schema-based configuration in
|
||||
Spring.</para>
|
||||
|
||||
<para> The <emphasis>'classic' </emphasis>
|
||||
<para>The <emphasis>'classic' </emphasis>
|
||||
<literal><object/></literal>-based schema is good, but its
|
||||
generic-nature comes with a price in terms of configuration overhead.
|
||||
Creating a custom XML Schema-based configuration makes Spring XML
|
||||
@@ -58,7 +58,7 @@
|
||||
you can copy and paste (!) and then plug
|
||||
<literal><object/></literal> definitions into like you have always
|
||||
done. However, the entire point of using custom schema tags is to make
|
||||
configuration easier. </para>
|
||||
configuration easier.</para>
|
||||
</section>
|
||||
|
||||
<para>The rest of this chapter gives an overview of custom XML Schema
|
||||
@@ -90,10 +90,14 @@
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<object xmlns="http://www.springframework.net"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
<emphasis role="bold"> xmlns:tx="http://www.springframework.org/schema/tx"</emphasis>>
|
||||
xmlns:aop="http://www.springframework.net/aop"
|
||||
<emphasis role="bold"> xmlns:tx="http://www.springframework.net/tx"</emphasis>>
|
||||
|
||||
<lineannotation><!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
<lineannotation> <!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
|
||||
<!-- <tx/> transaction definitions here -->
|
||||
|
||||
<!-- <aop/> AOP definitions here -->
|
||||
|
||||
</object></programlisting>
|
||||
|
||||
@@ -106,6 +110,28 @@
|
||||
the tags in the <literal>aop</literal> namespace are available to
|
||||
you.</para>
|
||||
</note>
|
||||
|
||||
<para>You will also need to configure the AOP and Transaction namespace
|
||||
parsers in the main .NET application configuration file as shown
|
||||
below</para>
|
||||
|
||||
<programlisting><configuration>
|
||||
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
<!-- other Spring config sections handler like context, typeAliases, etc not shown for brevity -->
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Aop.Config.AopNamespaceParser, Spring.Aop" />
|
||||
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
<section id="xsd-config-body-schemas-aop">
|
||||
@@ -123,12 +149,33 @@
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<emphasis role="bold">xmlns:aop="http://www.springframework.org/schema/aop"</emphasis>>
|
||||
<emphasis role="bold">xmlns:aop="http://www.springframework.net/aop"</emphasis>>
|
||||
|
||||
<lineannotation><!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
<lineannotation> <!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
|
||||
<!-- <aop/> AOP definitions here -->
|
||||
|
||||
</objects></programlisting>
|
||||
|
||||
<para>You will also need to configure the AOP namespace parser in the
|
||||
main .NET application configuration file as shown below</para>
|
||||
|
||||
<programlisting><configuration>
|
||||
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
<!-- other Spring config sections handler like context, typeAliases, etc not shown for brevity -->
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Aop.Config.AopNamespaceParser, Spring.Aop" />
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
<section id="xsd-config-body-schemas-db">
|
||||
@@ -143,12 +190,33 @@
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<emphasis role="bold">xmlns:db="http://www.springframework.org/schema/db"</emphasis>>
|
||||
<emphasis role="bold">xmlns:db="http://www.springframework.net/db"</emphasis>>
|
||||
|
||||
<lineannotation><!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
<lineannotation> <!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
|
||||
<!-- <db/> database definitions here -->
|
||||
|
||||
</objects></programlisting>
|
||||
|
||||
<para>You will also need to configure the Database namespace parser in
|
||||
the main .NET application configuration file as shown below</para>
|
||||
|
||||
<programlisting><configuration>
|
||||
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
<!-- other Spring config sections handler like context, typeAliases, etc not shown for brevity -->
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
<section id="xsd-config-body-schemas-remoting">
|
||||
@@ -160,13 +228,34 @@
|
||||
the chapter <xref linkend="remoting" /></para>
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.org/schema/objects"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<emphasis role="bold">xmlns:r="http://www.springframework.org/schema/remoting"</emphasis>>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
<emphasis role="bold">xmlns:r="http://www.springframework.net/remoting"</emphasis>>
|
||||
|
||||
<lineannotation><!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
<lineannotation> <!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
|
||||
<!-- <r/> remoting definitions here -->
|
||||
|
||||
</objects></programlisting>
|
||||
|
||||
<para>You will also need to configure the remoting namespace parser in
|
||||
the main .NET application configuration file as shown below</para>
|
||||
|
||||
<programlisting><configuration>
|
||||
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
<!-- other Spring config sections handler like context, typeAliases, etc not shown for brevity -->
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Remoting.Config.RemotingNamespaceParser, Spring.Services" />
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
<section id="xsd-config-body-schemas-validation">
|
||||
@@ -178,13 +267,34 @@
|
||||
linkend="validation" /></para>
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<emphasis role="bold">xmlns:v="http://www.springframework.org/schema/validation"</emphasis>>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
<emphasis role="bold">xmlns:v="http://www.springframework.net/validation"</emphasis>>
|
||||
|
||||
<lineannotation><!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
<lineannotation> <!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
|
||||
<!-- <v/> valdiation definitions here -->
|
||||
|
||||
</objects></programlisting>
|
||||
|
||||
<para>You will also need to configure the validation namespace parser in
|
||||
the main .NET application configuration file as shown below</para>
|
||||
|
||||
<programlisting><configuration>
|
||||
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
<!-- other Spring config sections handler like context, typeAliases, etc not shown for brevity -->
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Validation.Config.ValidationNamespaceParser, Spring.Core" />
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
<section id="xsd-config-body-schemas-objects">
|
||||
|
||||
Reference in New Issue
Block a user