• C
    Polish validation chapter program listings · 720f7ecf
    Chris Beams 提交于
    <programlisting/> elements must contain no newlines at beginning or end.
    The following is an example of what not to do:
    
        <programlisting><![CDATA[
    package com.foo.bar;
    
    class XFoo implements Foo<X> {
    }]]>
        </programlisting>
    
    This leaves newlines at the beginning and end of the programlisting
    panel within the PDF. Instead, do it like this:
    
        <programlisting><![CDATA[package com.foo.bar;
    
    class XFoo implements Foo<X> {
    }]]></programlisting>
    720f7ecf
validation.xml 79.1 KB