[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

  • From: David Sheets <kosmo.zb@gmail.com>
  • To: liam@w3.org
  • Date: Tue, 22 Jan 2013 20:02:44 -0800

Re:  Escaping and Encoding of reserved URI characters inXPointe
On Tue, Jan 22, 2013 at 7:52 PM, Liam R E Quin <liam@w3.org> wrote:
> 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 :-)

Ahh... I didn't realize the implied formality of my inquiry to that
list. Thanks for the info.

> 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.

Ok. That is good to know. IMHO, I think the wording of the Context B
and Context C sections could use a little work to make it clear that
"#" is not allowed after "#". As you indicate, it is not and so I am
satisfied.

Thanks for taking the time to assuage my confusion and educate me.

David


[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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.