You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Christian Hujer (Jira)" <xe...@xml.apache.org> on 2019/12/17 13:49:00 UTC

[jira] [Created] (XERCESJ-1718) DOCTYPE without internal and external subset not serialized

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 &amp; 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org