You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2021/11/17 00:00:56 UTC

[ws-axiom] branch master updated: Add TODO (related to AXIOM-508)

This is an automated email from the ASF dual-hosted git repository.

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git


The following commit(s) were added to refs/heads/master by this push:
     new 0526015  Add TODO (related to AXIOM-508)
0526015 is described below

commit 05260159369b21328f889366fa134cefa732a9ee
Author: Andreas Veithen <an...@gmail.com>
AuthorDate: Tue Nov 16 23:59:44 2021 +0000

    Add TODO (related to AXIOM-508)
---
 aspects/core-aspects/src/main/java/org/apache/axiom/core/NodeType.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aspects/core-aspects/src/main/java/org/apache/axiom/core/NodeType.java b/aspects/core-aspects/src/main/java/org/apache/axiom/core/NodeType.java
index 522db78..61f3084 100644
--- a/aspects/core-aspects/src/main/java/org/apache/axiom/core/NodeType.java
+++ b/aspects/core-aspects/src/main/java/org/apache/axiom/core/NodeType.java
@@ -87,6 +87,7 @@ public enum NodeType {
     ENTITY_REFERENCE(CoreEntityReference.class);
 
     static {
+        // TODO: add missing node types here (once we have tests that exercise the code)
         COMMENT.allowedChildTypes = EnumSet.of(CHARACTER_DATA);
         DOCUMENT.allowedChildTypes = EnumSet.of(CHARACTER_DATA, COMMENT, DOCUMENT_TYPE_DECLARATION, NS_AWARE_ELEMENT, NS_UNAWARE_ELEMENT, PROCESSING_INSTRUCTION);
         DOCUMENT_FRAGMENT.allowedChildTypes = EnumSet.allOf(NodeType.class);