Knut Anders Hatlen wrote:
> Stephen Lau <stevel at opensolaris.org> writes:
>
>   
>> We're having an issue with OpenGrok not properly escaping <![CDATA 
>> correctly.  It seems to escape it early on, but later occurences look fubar:
>>
>> http://dingo.songbirdnest.com:8080/source/xref/app/content/bindings/playerControls.xml
>>
>> around lines 440+
>>
>> Is this a known bug?
>>     
>
> It is now... ;)
>
> XMLXref didn't handle CDATA at all, so it got confused by an apostrophe
> in a javascript comment and thought the rest of the document was part of
> a string literal. I checked in a fix which treats CDATA more or less
> like comments.
>
>   
Awesome, thanks Knut. :-)

-- 
stephen lau | stevel at opensolaris.org | www.whacked.net


Reply via email to