Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-pmc] [CQ 3471] utf Version: 1.0

http://dev.eclipse.org/ipzilla/show_bug.cgi?id=3471





--- Comment #7 from David Carver <d_a_carver@xxxxxxxxx>  2009-07-31 16:03:09 ---
(In reply to comment #6)
> Hi Dave, 
> 
> When I go to the URL in the project URL you list, 
> http://www.w3.org/International/O-URL-code.html
> 
> It has a header that says, 
> 
> "This page is no longer maintained and may be inaccurate. For more up-to-date
> information..."


http://www.w3.org/International/

That is the current URL at the W3C. The source code in question can be found
at:

http://www.w3.org/International/URLUTF8Encoder.java

Which is under that non-deprecated URL.

> Also, where is this code going? One of our test plugins? core utility plugin?
> Or is this essentially modifying another third party plugin we have for the
> xpath processor testing? 

This is going into the FnEscapeHTMLUri class in
org.eclipse.wst.xml.xpath2.processor.internal.functions package.  What will be
included is the hex table, and a slight modification to access the appropriate
table entry.

Currently there is no other way to correctly handle Double Byte escaping using
the standard java classes, icu, or an apache module.  All incorrectly single
byte escape or encode it with a &#xxxx; format, which is not what the XPath 2.0
specification specifies.

This is not going into test classes, but into the processor implementation
itself so that it correctly passes the tests.


-- 
Configure CQmail: http://dev.eclipse.org/ipzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the CQ.


Back to the top