cp-tools-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cp-tools-discuss] Re: Gjdoc URI Dilemma


From: Julian Scheid
Subject: [Cp-tools-discuss] Re: Gjdoc URI Dilemma
Date: Wed, 25 May 2005 10:58:36 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050402)

Sascha Brawer wrote:
Url-escaping wouldn't work?

http://developer.classpath.org/doc/java/io/InputStream.html#read%28byte%5b%5d,int,int%29

No, unfortunately that's not enough. Here are the relevant parts of the spec again:

http://www.w3.org/TR/xhtml1/#C_8
http://www.w3.org/TR/REC-xml/#id
http://www.w3.org/TR/html4/types.html#h-6.2

To quote from the XML 1.0 spec:

[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
[5] Name ::= (Letter | '_' | ':') (NameChar)*

And from the HTML 4 spec:

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

Julan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]