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

Hudson commented on ANY23-169:
------------------------------

FAILURE: Integrated in Jenkins build Any23-trunk #1559 (See 
[https://builds.apache.org/job/Any23-trunk/1559/])
ANY23-169 Fixed url resolving errors in MicrodataExtractor (hans: rev 
3e5dce1dd9b043b6d6c9687f6f212b9b2ed2e573)
* (edit) 
core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java
* (edit) 
core/src/test/java/org/apache/any23/extractor/microdata/MicrodataExtractorTest.java
* (add) 
test-resources/src/test/resources/microdata/microdata-nested-url-resolving-expected.nquads
* (edit) pom.xml
* (edit) 
test-resources/src/test/resources/microdata/schemaorg-example-2-expected.nquads
* (edit) 
core/src/main/java/org/apache/any23/extractor/microdata/MicrodataExtractor.java
* (add) 
test-resources/src/test/resources/microdata/microdata-nested-url-resolving.html


> Incorrect interpretation of relative and absolute paths with Microdata
> ----------------------------------------------------------------------
>
>                 Key: ANY23-169
>                 URL: https://issues.apache.org/jira/browse/ANY23-169
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: microdata
>            Reporter: Ruben Verborgh
>            Priority: Major
>              Labels: microdata, url, urls
>             Fix For: 2.3
>
>
> Parsing the following fragment located at 
> http://ruben.verborgh.org/tmp/slash-test.html
>     <a itemprop="url" href="/">Homepage</a>
>     <a itemprop="url" href="other.html">Other</a>
> results in the URIs
>     http://ruben.verborgh.org/tmp/slash-test.html//
>     http://ruben.verborgh.org/tmp/slash-test.html/other.html
> instead of the correct
>     http://ruben.verborgh.org/tmp/
>     http://ruben.verborgh.org/tmp/other.html
> Note that there is no trailing slash in the original.
> Test case:
> http://ruben.verborgh.org/tmp/slash-test.html
> http://any23.org/any23/?format=best&uri=http%3A%2F%2Fruben.verborgh.org%2Ftmp%2Fslash-test.html&validation-mode=none



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

Reply via email to