diff --git a/lumongo-example/src/main/java/org/lumongo/example/medline/MedlineJAXBReader.java b/lumongo-example/src/main/java/org/lumongo/example/medline/MedlineJAXBReader.java index bb16f23e..9ee8f442 100644 --- a/lumongo-example/src/main/java/org/lumongo/example/medline/MedlineJAXBReader.java +++ b/lumongo-example/src/main/java/org/lumongo/example/medline/MedlineJAXBReader.java @@ -7,6 +7,7 @@ import org.lumongo.xml.StaxJAXBReader; import javax.xml.bind.JAXBException; +import java.lang.Object; import java.text.DateFormatSymbols; import java.util.Arrays; import java.util.Date; @@ -128,11 +129,11 @@ else if (name instanceof CollectiveName) { document.setJournalIso(journal.getISOAbbreviation()); JournalIssue journalIssue = journal.getJournalIssue(); - - String title = medlineCitation.getArticle().getArticleTitle(); + + ArticleTitle title = medlineCitation.getArticle().getArticleTitle(); if (title != null) { - document.setTitle(title); + document.setTitle(title.getvalue()); } diff --git a/lumongo-example/src/main/schemas/mediawiki-export-0.8.xsd b/lumongo-example/src/main/schemas/mediawiki-export-0.10.xsd similarity index 94% rename from lumongo-example/src/main/schemas/mediawiki-export-0.8.xsd rename to lumongo-example/src/main/schemas/mediawiki-export-0.10.xsd index 07b432a1..2abf55b3 100644 --- a/lumongo-example/src/main/schemas/mediawiki-export-0.8.xsd +++ b/lumongo-example/src/main/schemas/mediawiki-export-0.10.xsd @@ -28,16 +28,20 @@ Version 0.8 adds support for a and a tag for each revision. See contenthandler.txt. + Version 0.9 adds the database name to the site information. + + Version 0.10 moved the and tags before the tag. + The canonical URL to the schema document is: - http://www.mediawiki.org/xml/export-0.8.xsd + http://www.mediawiki.org/xml/export-0.10.xsd Use the namespace: - http://www.mediawiki.org/xml/export-0.8/ + http://www.mediawiki.org/xml/export-0.10/ --> + xmlns:mw="http://www.mediawiki.org/xml/export-0.10/" + targetNamespace="http://www.mediawiki.org/xml/export-0.10/" + elementFormDefault="qualified"> @@ -79,6 +83,7 @@ + @@ -180,10 +185,10 @@ - - + + diff --git a/lumongo-example/src/main/schemas/nlmmedlinecitationset_130101.dtd b/lumongo-example/src/main/schemas/nlmmedlinecitationset_130101.dtd deleted file mode 100644 index 849bf62b..00000000 --- a/lumongo-example/src/main/schemas/nlmmedlinecitationset_130101.dtd +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lumongo-example/src/main/schemas/pubmed_170101.dtd b/lumongo-example/src/main/schemas/pubmed_170101.dtd new file mode 100644 index 00000000..62a755d5 --- /dev/null +++ b/lumongo-example/src/main/schemas/pubmed_170101.dtd @@ -0,0 +1,444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +