concept character in category ant

appears as: character, characters, The character, character
Ant in Action

This is an excerpt from Manning's book Ant in Action.

The ‘.’ character indicates a test case is running; in this example only one exists, testCreation. The Swing TestRunner displays success as green and failure as red and has a feature to reload classes dynamically so that it can pick up the latest test case classes whenever you rebuild. For this same test case, its display appears in figure 4.3.

Because escaping characters can become very messy and inconvenient, XML provides a mechanism for allowing unescaped text within a CDATA section. In Ant’s build files, CDATA sections typically appear around script blocks or SQL commands. CDATA sections begin with <![CDATA[ and end with ]]>. The ending sequence of a CDATA section is the only set of characters that requires escaping internally. A CDATA example is

<echo><![CDATA[
    <b>hello</b> world
    ]]>
</echo>

Even within CDATA or Unicode escaping, not all characters are allowed. As an example, the ASCII NUL symbol, \u0000, is forbidden, even with an &#00; declaration. The only allowed characters in the range 0-31 are 8, 10 and 13; tab, newline and carriage-return.