[ 
https://issues.apache.org/jira/browse/CXF-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722914#action_12722914
 ] 

Benson Margulies commented on CXF-2296:
---------------------------------------

This situation means that, for some reason, the XML parser installed as the 
JAXP parser inside the OSGi environment refuses to set up schema validation. 
Does something less with the SPI for JAXP in the OSGi bundle?

> Aegis XMLTypeCreator causes a warning stack trace when used by JAXRS runtime
> ----------------------------------------------------------------------------
>
>                 Key: CXF-2296
>                 URL: https://issues.apache.org/jira/browse/CXF-2296
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.2.3, 2.3
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.2.3, 2.3
>
>
> 17-Jun-2009 14:56:13 org.apache.cxf.aegis.type.XMLTypeCreator <clinit>
> INFO: Parser doesn't support setSchema.  Not validating.
> java.lang.UnsupportedOperationException: This parser does not support 
> specificat
> ion "null" version "null"
>         at 
> javax.xml.parsers.DocumentBuilderFactory.setSchema(DocumentBuilderFac
> tory.java:489)
>         at 
> org.apache.cxf.aegis.type.XMLTypeCreator.<clinit>(XMLTypeCreator.java
> :125)
>         at 
> org.apache.cxf.aegis.AegisContext.createRootTypeCreator(AegisContext.
> java:119)
>         at 
> org.apache.cxf.aegis.AegisContext.createTypeCreator(AegisContext.java
> :108)
>         at org.apache.cxf.aegis.AegisContext.initialize(AegisContext.java:150)
>         at 
> org.apache.cxf.jaxrs.provider.AbstractAegisProvider.getClassContext(A
> bstractAegisProvider.java:79)
>         at 
> org.apache.cxf.jaxrs.provider.AbstractAegisProvider.getAegisContext(A
> bstractAegisProvider.java:66)
>         at 
> org.apache.cxf.jaxrs.provider.AegisElementProvider.writeTo(AegisEleme
> ntProvider.java:69)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to