Re: Parsing HREFs?

On 2006-02-19 18:57, Frank Ellermann wrote:

>> an example like "foo.cgi?chap=1&sect=2" would be far more
>> illustrating, since &sect is actually defined.
> 
> Assuming that you mean § here, where's the big difference
> to the original example "foo.cgi?chapter=1&section=2" ?
 >
> Or are you telling me that this is another SGML oddity I've
> never before heard of, an IMPLIEDSEMICOLON=YES maybe ?

Yes. The semicolon, or REFC (reference close), can be omitted if the 
reference is followed by a character that cannot occur in the reference.
In Jukka's example, the equals sign cannot occur in the reference, so 
REFC will be implied before it.

This feature cannot be turned off in the SGML declaration though.

-- 
David Håsäther

Received on Sunday, 19 February 2006 18:58:12 UTC