https://issues.apache.org/bugzilla/show_bug.cgi?id=50154

--- Comment #5 from Yegor Kozlov <[email protected]> 2010-11-12 07:51:33 EST ---
The problem is in the OpenXml4J module. It doesn't support white spaces in
target URIs. 

Compare two targets:

  <Relationship Id="rId3"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
Target="#ThirdSheet!A1"/>
  <Relationship Id="rId1"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
Target="#'Another Sheet'!A1"/>

The first one is handled OK and survives across read-write. 
The second one issues a warning and causes troubles. 

The fix seems easy - we should percent-encode white spaces (and perhaps any
other non-uri characters) when reading OPC packages and un-percent-encode them
when saving. 

The fix is coming soon.

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to