Christian Hujer created XERCESJ-1718:
----------------------------------------
Summary: DOCTYPE without internal and external subset not
serialized
Key: XERCESJ-1718
URL: https://issues.apache.org/jira/browse/XERCESJ-1718
Project: Xerces2-J
Issue Type: Bug
Components: DOM (Level 3 Load & Save)
Affects Versions: 2.12.0, 2.11.0, 2.10.0, 2.9.1, 2.9.0, 2.8.1, 2.8.0, 2.7.1
Reporter: Christian Hujer
Attachments: SerializationIncludesEmptyDocTypeTest.java
{code:none}
Feature: DOM Level 3 LS
Scenario: Serialization of a document with a DocType declaration without
subsets.
Given a Document with a DocumentType that does not specify an external and
internal subset,
When serializing it using DOM Level 3 LS,
# Expected behavior
Then the serialized Document contains a DocType Declaration.
{code}
The last version that works as expected is 2.7.0.
Also, the version of Xerces shipped with JDK13 works as expected.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]