This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jelly.git
commit 803a633f9de7819c35663267c49bf5e0e71bc9bc Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun May 4 09:26:02 2025 -0400 Javadoc and comment typos --- core/src/main/java/org/apache/commons/jelly/TagSupport.java | 2 +- core/src/main/java/org/apache/commons/jelly/tags/core/WhileTag.java | 2 +- core/src/main/java/org/apache/commons/jelly/xpath/XPathComparator.java | 2 +- .../test/java/org/apache/commons/jelly/TestDoctypeDefinitionXXE.java | 2 +- .../test/java/org/apache/commons/jelly/test/xml/TestXMLParserCache.java | 2 +- .../resources/org/apache/commons/jelly/test/xml/nonexistentTags1.jelly | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/org/apache/commons/jelly/TagSupport.java b/core/src/main/java/org/apache/commons/jelly/TagSupport.java index b45374c1..c98847d6 100644 --- a/core/src/main/java/org/apache/commons/jelly/TagSupport.java +++ b/core/src/main/java/org/apache/commons/jelly/TagSupport.java @@ -44,7 +44,7 @@ public abstract class TagSupport implements Tag { protected JellyContext context; - /** Whether xml text should be escaped */ + /** Whether XML text should be escaped */ private boolean escapeText = true; /** diff --git a/core/src/main/java/org/apache/commons/jelly/tags/core/WhileTag.java b/core/src/main/java/org/apache/commons/jelly/tags/core/WhileTag.java index 83d8f2b7..6c408898 100644 --- a/core/src/main/java/org/apache/commons/jelly/tags/core/WhileTag.java +++ b/core/src/main/java/org/apache/commons/jelly/tags/core/WhileTag.java @@ -45,7 +45,7 @@ public class WhileTag extends TagSupport { /** * Tag interface - * @param output destination for xml output + * @param output destination for XML output * @throws MissingAttributeException when the test attribute is missing * @throws RuntimeException for anything else */ diff --git a/core/src/main/java/org/apache/commons/jelly/xpath/XPathComparator.java b/core/src/main/java/org/apache/commons/jelly/xpath/XPathComparator.java index 6c21e21e..88b7e57e 100644 --- a/core/src/main/java/org/apache/commons/jelly/xpath/XPathComparator.java +++ b/core/src/main/java/org/apache/commons/jelly/xpath/XPathComparator.java @@ -25,7 +25,7 @@ import org.jaxen.JaxenException; import org.jaxen.XPath; /** - * Compares xml nodes by extracting the value at xpath and + * Compares XML nodes by extracting the value at xpath and * comparing it. */ diff --git a/core/src/test/java/org/apache/commons/jelly/TestDoctypeDefinitionXXE.java b/core/src/test/java/org/apache/commons/jelly/TestDoctypeDefinitionXXE.java index c1183cb6..0d668b01 100644 --- a/core/src/test/java/org/apache/commons/jelly/TestDoctypeDefinitionXXE.java +++ b/core/src/test/java/org/apache/commons/jelly/TestDoctypeDefinitionXXE.java @@ -22,7 +22,7 @@ import junit.framework.TestCase; /** * A test class to validate doctype definitions' declaration of external - * calls using custom xml tags. Specifically we test some changes in {@link JellyContext} + * calls using custom XML tags. Specifically we test some changes in {@link JellyContext} * along with {@link org.apache.commons.jelly.parser.XMLParser}. */ public class TestDoctypeDefinitionXXE extends TestCase diff --git a/core/src/test/java/org/apache/commons/jelly/test/xml/TestXMLParserCache.java b/core/src/test/java/org/apache/commons/jelly/test/xml/TestXMLParserCache.java index a2e5d00a..1cb093fe 100644 --- a/core/src/test/java/org/apache/commons/jelly/test/xml/TestXMLParserCache.java +++ b/core/src/test/java/org/apache/commons/jelly/test/xml/TestXMLParserCache.java @@ -73,7 +73,7 @@ public class TestXMLParserCache extends TestCase { assertTrue("should have set 'foo' variable to 'bar'", context.getVariable("foo").equals("bar")); - // if I enable xml validation, the script should fail + // if I enable XML validation, the script should fail // despite the cache jelly.setValidateXML(true); try { diff --git a/core/src/test/resources/org/apache/commons/jelly/test/xml/nonexistentTags1.jelly b/core/src/test/resources/org/apache/commons/jelly/test/xml/nonexistentTags1.jelly index 0270492a..6a9cba3d 100644 --- a/core/src/test/resources/org/apache/commons/jelly/test/xml/nonexistentTags1.jelly +++ b/core/src/test/resources/org/apache/commons/jelly/test/xml/nonexistentTags1.jelly @@ -20,7 +20,7 @@ <j:set var="foo" value="bar"/> - <!-- should fail, because xml tags are not in the classpath --> + <!-- should fail, because XML tags are not in the classpath --> <x:parse var="foo" xml="nonexistentTags1.jelly"/> </j:jelly>