Keith Visco wrote:


Unfortunately Castor strips off the leading whitespace, so you can't
really force a line-break in the beginning of the comment. However you
can add some text and then insert you line break so that your doclet
tags end up on new lines.

Something like:

      <xsd:annotation>
          <xsd:documentation>
          The "isbn" is the unique identifier for the book.
          @castor.field type="integer" set-method="setId"
          @castor.field-sql name="title" type="varchar"
          @castor.field-xml type="integer"
          </xsd:documentation>
      </xsd:annotation>

This works but it's an artificial requirement I'd rather not see imposed. Are you opposed to me just adding a newline to FieldInfo on line #336 after the concatenation of the comment?


Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'


The Castor Project
http://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to