Hi All,

Found the issue here. It seems in IS we are
using org.apache.xalan.processor.TransformerFactoryImpl to transform this.
But because of some incompatibility in document object create it is not
working with net.sf.saxon.TransformerFactoryImpl. APIM 1.9 , they have
packed SAXON in endorse. So we can't override the impl for now. Solution
must be work this with both impl and we can't depend on specific impl for
this. We will track this in [1]

[1] https://wso2.org/jira/browse/IDENTITY-3482


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>* cell: +94 71 5186770 *
*twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
*harshathirimannlinked-in: **http:
<http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
<http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*

*Lean . Enterprise . Middleware*


On Tue, Aug 4, 2015 at 2:51 PM, Harsha Thirimanna <[email protected]> wrote:

> Hi All,
>
> When document object transforming to the string, it added this empty
> namespace string. Because of that this xml failed in validation against
> XSD. Need help to get resolve this.
>
>
> ​<?xml version="1.0" encoding="UTF-8"?>
> <Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17"
> PolicyId="oioopiop"
> RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable"
> Version="1.0">
>    <Description *xmlns=""*>poipom</Description>
>    <Target *xmlns=""*>
>       ...
>
>
> ​thanks​
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>*
> *email: **[email protected]* <[email protected]>* cell: +94 71 5186770 *
> *twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
> *harshathirimannlinked-in: **http:
> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>
> *Lean . Enterprise . Middleware*
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to