autoWrap should count "(" as being within the same string

Description

I have text labelled like this:
<se:Label>
<ogcropertyName>NAME</ogcropertyName> (<ogcropertyName>UPRN</ogcropertyName&gt
</se:Label>

And I'm using:
<se:VendorOption name="autoWrap">100</se:VendorOption>

NAME has a value of: "14 Cherry Street (Group Home) " (sans quotes)
UPRN: "5276"

The output is:
14 Cherry Street (
Group Home) (
5276)

The desired output is of course:
14 Cherry Street
(Group Home)
(5276)

Autowrap is currently treating brackets as a suitable breakpoint. Doesn't matter if the bracket is within the property or explicitly declared in the SLD.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 4:23 PM

CodeHaus Comment From: aaime - Time: Tue, 29 Apr 2014 12:31:53 -0500
---------------------
<p>See Geotools issue. Hard topic I'm afraid.</p>

codehaus
April 10, 2015, 4:23 PM

CodeHaus Comment From: aaime - Time: Sun, 11 May 2014 13:01:54 -0500
---------------------
<p>Hi, hopefully fixed, could you test a nightly build starting from May 12th one?</p>

codehaus
April 10, 2015, 4:23 PM

CodeHaus Comment From: jonathan_wcc - Time: Fri, 16 May 2014 05:32:39 -0500
---------------------
<p>Yep, that fixed it. Thanks!</p>

Andrea Aime
February 15, 2017, 11:47 AM

Mass closing all resolved issues not modified in the last 4 weeks

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Priority

Low
Configure