Monday, July 11, 2011

[android-developers] Eclipse errors in XML ... but where is the error? results

I'm seeing two errors for one line in a string-array that make
absolutely no sense.

Here's the line in question:

<item>Use 5% to 10% for a noticeable smoke character in lighter styles such as Scottish Ales and Oktoberfests, 10% to 20% for a pronounced smoke character in lighter styles like Scottish Ales and Oktoberfests, or 30% to 60% for a noticeable to pronounced smoke character in darker styles like Stouts and Porters. Use in a variety of beer styles to develop complexity or rich, robust smoky flavor. Briess Smoked Malt delivers intense smoked flavor. We recommend limiting usage to 60% of the grist.</item>

And the errors:

error: Found tag </item> where </string-array> is expected
error: Multiple substitutions specified in non-positional format;
did you mean to add the formatted="false" attribute?

NOTE: The string-array IS terminated properly at the end.....

I thought, for a moment, that the percentages in the line were causing
the second error, but then, why only this line, and not all of the others
with percentages? And why would Eclipse claim that this should be the
end of the string-array, when, in fact, it's only in the middle?

Thanks,
--jim

--
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurr.: 30.44406N 86.59909W
Point Lobos Photography Set 1 (Photo-posters): http://jdgapps.com

"Now what *you* need is a proper pint of porter poured in a proper
pewter porter pot.." --Peter Dalgaard in alt.sysadmin.recovery

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment