[ 
https://issues.apache.org/jira/browse/ANY23-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361454#comment-16361454
 ] 

ASF GitHub Bot commented on ANY23-328:
--------------------------------------

Github user HansBrende commented on the issue:

    https://github.com/apache/any23/pull/65
  
    FYI, at around 1pm CST today, I refactored and rebased this commit to use
    java.io.PushbackInputStream instead of my own custom pushback logic. This
    should make things less complicated and more readable. So if you were
    testing this PR before 1pm, please pull the current version.
    
    On Mon, Feb 12, 2018 at 9:44 AM, Lewis John McGibbney <
    notificati...@github.com> wrote:
    
    > +1, tested locally. Anyone else have comments?
    >
    > —
    > You are receiving this because you authored the thread.
    > Reply to this email directly, view it on GitHub
    > <https://github.com/apache/any23/pull/65#issuecomment-364962465>, or mute
    > the thread
    > 
<https://github.com/notifications/unsubscribe-auth/AFk3annuUEC9lA8JM0noq819mJqsiwIfks5tUFx0gaJpZM4SBcYT>
    > .
    >



> Problem parsing json-ld content surrounded by comments
> ------------------------------------------------------
>
>                 Key: ANY23-328
>                 URL: https://issues.apache.org/jira/browse/ANY23-328
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1
>            Reporter: Hans Brende
>            Assignee: Hans Brende
>            Priority: Major
>             Fix For: 2.2
>
>
> Sometimes in json-ld script blocks (e.g., on https://www.guthriegreen.com), 
> you will see
> /&ast;<![CDATA[&ast;/
> ...json-ld content...
> /&ast;]]>&ast;/
> or 
> //<![CDATA[
> ...json-ld content...
> //]]>
>  
> Currently we are stripping CDATA markers, but we are not stripping leading & 
> trailing comments, which will cause json-ld parsing to fail. This may be 
> related to issue #17. 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to