Commit 44f44526 authored by Stephan Kreutzer's avatar Stephan Kreutzer

xml_dtd_entity_resolver_1: Support for XHTML 1.1 via resolving actual DTDs.

parent 9044fea3
......@@ -84,6 +84,7 @@ public class setup_1
CopyEntitiesXHTML_1_0_Strict(programPath, ".." + File.separator + ".." + File.separator + ".." + File.separator + "xml_dtd_entity_resolver" + File.separator + "xml_dtd_entity_resolver_1" + File.separator + "entities");
CopyEntitiesXHTML_1_1(programPath, ".." + File.separator + ".." + File.separator + ".." + File.separator + "xml_xslt_transformator" + File.separator + "xml_xslt_transformator_1" + File.separator + "entities");
CopyEntitiesXHTML_1_1(programPath, ".." + File.separator + ".." + File.separator + ".." + File.separator + "xml_dtd_entity_resolver" + File.separator + "xml_dtd_entity_resolver_1" + File.separator + "entities");
CopyEntitiesUnicode(programPath, ".." + File.separator + ".." + File.separator + ".." + File.separator + "xml_xslt_transformator" + File.separator + "xml_xslt_transformator_1" + File.separator + "entities");
CopyEntitiesUnicode(programPath, ".." + File.separator + ".." + File.separator + ".." + File.separator + "onix_prepare_for_json" + File.separator + "onix_prepare_for_json_1" + File.separator + "entities");
......
/* Copyright (C) 2014-2018 Stephan Kreutzer
/* Copyright (C) 2014-2019 Stephan Kreutzer
*
* This file is part of xml_concatenator_1, a submodule of the
* digital_publishing_workflow_tools package.
......@@ -58,7 +58,7 @@ public class xml_concatenator_1
{
public static void main(String args[])
{
System.out.print("xml_concatenator_1 Copyright (C) 2014-2018 Stephan Kreutzer\n" +
System.out.print("xml_concatenator_1 Copyright (C) 2014-2019 Stephan Kreutzer\n" +
"This program comes with ABSOLUTELY NO WARRANTY.\n" +
"This is free software, and you are welcome to redistribute it\n" +
"under certain conditions. See the GNU Affero General Public License 3\n" +
......@@ -494,6 +494,12 @@ public class xml_concatenator_1
try
{
XMLInputFactory inputFactory = XMLInputFactory.newInstance();
// This is a concatenator for generic XML, don't want to deal with legacy DTD
// remnants. Consider using $/xml_dtd_entity_resolver/xml_dtd_entity_resolver_1.
inputFactory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false);
inputFactory.setProperty(XMLInputFactory.SUPPORT_DTD, false);
InputStream in = new FileInputStream(inputFile);
XMLEventReader eventReader = inputFactory.createXMLEventReader(in);
......
......@@ -5,17 +5,17 @@ Copyright (C) 2014-2019 Stephan Kreutzer
This file is part of xml_xslt_transformator_1, a submodule of the
digital_publishing_workflow_tools package.
ml_xslt_transformator_1 is free software: you can redistribute it and/or modify
xml_xslt_transformator_1 is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3 or any later version,
as published by the Free Software Foundation.
ml_xslt_transformator_1 is distributed in the hope that it will be useful,
xml_xslt_transformator_1 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License 3 for more details.
You should have received a copy of the GNU Affero General Public License 3
along with ml_xslt_transformator_1. If not, see <http://www.gnu.org/licenses/>.
along with xml_xslt_transformator_1. If not, see <http://www.gnu.org/licenses/>.
-->
<xml-xslt-transformator-1-entity-resolver-config>
<entity>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment