Jump to content
Changes to the Jaspersoft community edition download ×

fieldDescription tag truncated?


Recommended Posts

By: Benjamin Lim - benlim

fieldDescription tag truncated?

2002-10-31 19:45

Hi, it seems like when I tried to save the XML,

fieldDescription tag is being removed. Is this a bug or is my syntax wrong?

:::

<field name="field1" class="java.lang.String">

<fieldDescription><![CDATA[Field 1]]>

</fieldDescription>

</field>

:::

 

 

By: Giulio Toffoli - gt78

RE: fieldDescription tag truncated?

2002-11-01 01:12

oops!! I have forgot to handle fieldDescription end parameterDescription tags! I have declared that this two tags are supported but it's not true!!!!

 

In the next release I'll add this two tags!

 

Sorry

 

Giulio

 

 

By: Benjamin Lim - benlim

RE: fieldDescription tag truncated?

2002-11-01 01:43

And does it support <!-- ... --> comments? Would be nice to have it though.

 

Another thing, it seems like if I have a static text eg, "Name :", after saving it will become "Name:", meaning iReport remove the white space. Can this be omitted?

 

I forgot to mention,

Thanks for a great tool! Really help alot whether it is in C, J++ or Java. As long as it works!

 

 

By: Giulio Toffoli - gt78

RE: fieldDescription tag truncated?

2002-11-01 02:00

Comments are a problem. I don't read "directly" xml files, I use a library for manage XML docs, not a source incremental engine...

 

An idea could be that the user can create a "big" comment at the beginning of the xml file (like the Properties class of java).

 

For the second problem, I must try, because it's strange? I use only the trim() method of java String...

 

Giulio

 

 

 

By: Giulio Toffoli - gt78

RE: fieldDescription tag truncated?

2002-11-01 02:58

I have tried the "name : problem" but on my system the string "Name :" become "Name :" NOT "Name:". Are you sure that was not a typed mistake?

 

Giulio

 

 

By: Benjamin Lim - benlim

RE: fieldDescription tag truncated?

2002-11-01 10:09

Sorry I didn't give you the correct scenario.

I have just retraced the problem.

1. The XML was initially coded using an ASCII editor. Therefore the indentation of the source is in my own style. Including "Name :"

2. Load XML into iReport and "Name :" became "Name :"

3. Made some amendments and saved the source.

4. View thru' ASCII editor, I have "Name :"

5. The rest of my formatting of static text were also reformatted. Eg, CR/LF were removed. 2 or 3 paragraphs became 1 big paragraph.

 

Have a great weekend!

We're having long weekend over in Singapore.

Thanks again!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...