-
1. Re: Testing line breaks in xml
jaikiran Apr 13, 2010 7:09 AM (in response to jaikiran)That worked. Now let's try the same with code:xml wiki markup syntax:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>
<!-- Artifact Configuration -->
<groupId>blah</groupId>
<artifactId>blah</artifactId>
<version>1.0.0-SNAPSHOT</version>
</project>
{code} -
2. Re: Testing line breaks in xml
jaikiran Apr 13, 2010 7:10 AM (in response to jaikiran)Now that proves that the wiki markup code:xml eats up the newline characters
(I know a workaround, but that's irrelevant for this post)
-
3. Re: Testing line breaks in xml
jaikiran Sep 12, 2011 3:03 AM (in response to jaikiran)Testing copy/paste of xml content from a file to see if it (unnecessarily) auto creates a table.
<subsystem xmlns="urn:jboss:domain:logging:1.0"> <console-handler name="CONSOLE" autoflush="true"> <level name="INFO"/> <formatter> <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> </console-handler> <periodic-rotating-file-handler name="FILE" autoflush="true"> <level name="INFO"/> <formatter> <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> <file relative-to="jboss.server.log.dir" path="server.log"/> <suffix value=".yyyy-MM-dd"/> </periodic-rotating-file-handler> <logger category="com.arjuna"> <level name="WARN"/> </logger> <logger category="org.apache.tomcat.util.modeler"> <level name="WARN"/> </logger> <logger category="sun.rmi"> <level name="WARN"/> </logger> <root-logger> <level name="INFO"/> <handlers> <handler name="CONSOLE"/> <handler name="FILE"/> </handlers> </root-logger> </subsystem>