santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cantor, Scott" <canto...@osu.edu>
Subject Re: Broken Test Cases from 1.4.4 to 1.5.2? Related to ID?
Date Mon, 20 Aug 2012 20:00:43 GMT
On 8/20/12 3:51 PM, "Michael Bishop" <bishopmw@gmail.com> wrote:
>
>I'm trying to upgrade my libraries that leverage Apache Santuario and I'm
>getting failures in my test cases.  Has something changed in resolving
>reference URIs?

Yes, the bug that caused it to assume an attribute named ID is a actual ID
was fixed.

>Which leads me to believe that it can't find the ID reference supplied by
>the ID attribute in each "comment" element.  This works perfectly in
>1.4.4.  What do I need to change in order to upgrade?

You have to process the DOM in such a fashion that the ID attribute is
marked as such, via a schema or via DOM3 API calls.

Or I believe you can plug in an ID resolver of some kind as well.

-- Scott


Mime
View raw message