Re: utf8u tag proposal
Osamu TAKEUCHI <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
William,
>> ns-tag-char seems to contain "#".
>
> The libyaml source code is incorrect, then. Somebody should fix it.
I confirmed that the definition of ns-tag-char was changed
from YAML 1.1 to YAML 1.2. What I showed was from YAML 1.2.
The ns-tag-char in YAML 1.1 indeed did not include "#" in
its definition. I had not checked for it.
[112] c-ns-shorthand-tag ::= ( c-primary-tag-handle ns-tag-char+ )
| ( ns-secondary-tag-handle ns-uri-char+ )
| ( c-named-tag-handle ns-uri-char+ )
[44] ns-tag-char ::= ns-uri-char - “!”
[43] ns-uri-char ::= ns-word-char | “%” ns-hex-digit ns-hex-digit
| “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,”
| “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]”
I think this was kind of a bug in the YAML specification because
it, on the other hand, described tags that contain "#" characters
in Sect. 3.2.1.2. With the old specification, we can specify such
Tags only with the URI escape sequence.
Best,
Osamu TAKEUCHI
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf