[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Escaping and Encoding of reserved URI characters inXPointe
On Tue, 2013-01-22 at 19:07 -0800, David Sheets wrote: > <blockquote> > Thus, when a pointer is inserted into an IRI reference, any > occurrences of percent signs (%) must be escaped. Other characters may > be escaped as well, though it is not recommended. Characters are > escaped as follows: > </blockquote> > > I think this section should recommend escaping all characters that are > not in the IRI fragment production (including the > hash/hatch/number/pound/sharp/cross/octothorp/tictactoe sign (#)). Is > that correct? Not entirely, it's more complicated than that. The complexity of treating URIs as strings and processing them in different languages with different syntactic constraints is one of the great attractions of the XLink specification, which can make even simple things sound complex :-) But it could be that tomorrow's XML Core meeting will discuss it; I don't know how far down the agenda we'll get. In general, Working Groups aren't good places to ask quick questions, because the W3C Process requires every comment on a spec to be discussed by the Working Group until consensus is reached. We do welcome comments once you're up to speed, but usually it's more productive to ask "questions of clarification" elsewhere - e.g. on this list :-) The short answer is that what you escape depends on what you've already escaped and where you're putting the result, as you can't %-escape percent signs or the # marking the start of the fragment id. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|