Selaa lähdekoodia

SEC-939: Changed XML header to include schema locations for clarification.

Luke Taylor 17 vuotta sitten
vanhempi
commit
f538a36cd3
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      src/docbkx/namespace-config.xml

+ 5 - 2
src/docbkx/namespace-config.xml

@@ -45,7 +45,7 @@
   xmlns:security="http://www.springframework.org/schema/security"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
-              http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd">  
+              http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.2xsd">  
     ...
 </beans>
   ]]></programlisting>
@@ -57,7 +57,10 @@
       start like this
       <programlisting><![CDATA[
 <beans:beans xmlns="http://www.springframework.org/schema/security"
-   xmlns:beans="http://www.springframework.org/schema/beans">
+  xmlns:beans="http://www.springframework.org/schema/beans"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+              http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.2.xsd"> 
     ...
 </beans:beans>
 ]]></programlisting>