You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2013/08/13 11:29:29 UTC

svn commit: r1513402 - /santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/ext/XMLSecurityConstants.java

Author: coheigea
Date: Tue Aug 13 09:29:29 2013
New Revision: 1513402

URL: http://svn.apache.org/r1513402
Log:
[SANTUARIO-365] - JAXB Context from ObjectFactory....
 - Patch applied, thanks

Modified:
    santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/ext/XMLSecurityConstants.java

Modified: santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/ext/XMLSecurityConstants.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/ext/XMLSecurityConstants.java?rev=1513402&r1=1513401&r2=1513402&view=diff
==============================================================================
--- santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/ext/XMLSecurityConstants.java (original)
+++ santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/ext/XMLSecurityConstants.java Tue Aug 13 09:29:29 2013
@@ -76,11 +76,11 @@ public class XMLSecurityConstants {
         try {
             setJaxbContext(
                     JAXBContext.newInstance(
-                            "org.apache.xml.security.binding.xmlenc:" +
-                                    "org.apache.xml.security.binding.xmlenc11:" +
-                                    "org.apache.xml.security.binding.xmldsig:" +
-                                    "org.apache.xml.security.binding.xmldsig11:" +
-                                    "org.apache.xml.security.binding.excc14n"
+                        org.apache.xml.security.binding.xmlenc.ObjectFactory.class,
+                        org.apache.xml.security.binding.xmlenc11.ObjectFactory.class,
+                        org.apache.xml.security.binding.xmldsig.ObjectFactory.class,
+                        org.apache.xml.security.binding.xmldsig11.ObjectFactory.class,
+                        org.apache.xml.security.binding.excc14n.ObjectFactory.class 
                     )
             );
             SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);