Author: mostarda
Date: Sun May 6 12:39:34 2012
New Revision: 1334616
URL: http://svn.apache.org/viewvc?rev=1334616&view=rev
Log:
The generation of domain triples has been disabled by default. Updated test
cases accordingly. This commit is related to issue #ANY23-74.
Modified:
incubator/any23/trunk/core/src/main/resources/default-configuration.properties
incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
Modified:
incubator/any23/trunk/core/src/main/resources/default-configuration.properties
URL:
http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/main/resources/default-configuration.properties?rev=1334616&r1=1334615&r2=1334616&view=diff
==============================================================================
---
incubator/any23/trunk/core/src/main/resources/default-configuration.properties
(original)
+++
incubator/any23/trunk/core/src/main/resources/default-configuration.properties
Sun May 6 12:39:34 2012
@@ -39,7 +39,7 @@ any23.extraction.metadata.nesting=on
# Allows to enable(on)/disable(off)
# the domain triple for every Microformat entity.
-any23.extraction.metadata.domain.per.entity=on
+any23.extraction.metadata.domain.per.entity=off
# Allows to decide which RDFa Extractor to enable.
# If 'on' will be activated the programmatic RDFa 1.1 Extractor
Modified:
incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
URL:
http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java?rev=1334616&r1=1334615&r2=1334616&view=diff
==============================================================================
--- incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
(original)
+++ incubator/any23/trunk/core/src/test/java/org/apache/any23/Any23Test.java
Sun May 6 12:39:34 2012
@@ -372,7 +372,7 @@ public class Any23Test extends Any23Onli
@Test
public void testExtractionParametersWithNestingDisabled()
throws IOException, ExtractionException, TripleHandlerException {
- final int EXPECTED_TRIPLES = 21;
+ final int EXPECTED_TRIPLES = 19;
Any23 runner = new Any23();
DocumentSource source = new FileDocumentSource(
new
File("src/test/resources/microformats/nested-microformats-a1.html"),