very strange, have you got a reproducible test case?
On Thursday, 17 October 2013 12:41:16 UTC+1, Chris wrote:very strange, have you got a reproducible test case?
Yes, but it wasn't a case of adding attributes to the document as I first thought. I was on the right lines with downgrading the Xerces dependency though, but I wasn't drastic enough: removing the dependency on Xerces entirely fixes it.
Good to hear you nailed it, I'll add another test project for xerces
2.9.1 to cover that.
Good enough to be a new issue to track -
https://github.com/chris-twiner/scalesXml/issues/31
On Thu, Oct 17, 2013 at 5:06 PM, Robin Green wrote:
> On Thursday, 17 October 2013 15:15:55 UTC+1, Robin Green wrote:
>>
>> On Thursday, 17 October 2013 15:03:59 UTC+1, Robin Green wrote:
>>>
>>> On Thursday, 17 October 2013 12:41:16 UTC+1, Chris wrote:
>>>>
>>>> very strange, have you got a reproducible test case?
>>>
>>>
>>> Yes, but it wasn't a case of adding attributes to the document as I first
>>> thought. I was on the right lines with downgrading the Xerces dependency
>>> though, but I wasn't drastic enough: removing the dependency on Xerces
>>> entirely fixes it.
>>
>>
>> Unfortunately I am using Play 2.2, which wants Xerces specifically. :(
>
>
> I've worked around it by creating a JDKDOMFactoryPool which calls
> DocumentBuilderFactory.newInstance("com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl",
> null) instead of just DocumentBuilderFactory.newInstance(). This needs to be
> more easily customisable in future Scales versions without so much copying
> and pasting.
>
> --
> You received this message because you are subscribed to the Google Groups
> "scales-xml" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scales-xml+unsubscribe@googlegroups.com.