A tag is just a URI. The spec has a lot to say about how a full ("verbatim") tag (URI) can be specified using shorthand formats. It doesn't specify any transformation on the full ("verbatim") URI once one has been obtained.

On Fri, Feb 1, 2013 at 11:24 PM, Trans <transfire@gmail.com> wrote:
Ok, so all tags are *verbatim*, and there is no official spec that says `tag:foo` should be considered the same as `foo`. Is the correct?

Also, to be clear, is there any reason that Psych transforms `foo.org,2000/foo` into `foo.org,2000:foo`? Why would it change the '/' to a ':'? maybe b/c of old spec or something?

I appreciate the help.

On Fri, Feb 1, 2013 at 3:35 PM, Oren Ben-Kiki <oren@ben-kiki.org> wrote:
I'm not certain about the specific library implementation, but the spec is pretty clear on tag resolution (well... as clear as I succeeded in making it :-)

Different verbatim tags in general map to different types, but an application is allowed to define any mapping it wants between tags and native types, so if it chooses to make !<foo> and !<bar> both be the same type baz, that's its business (though it is arguably confusing and needs a good reason). It _sounds_ like this is what the library is doing as an intentional practice, I'm not certain why.

Have fun,

    Oren Ben-Kiki

2013/2/1 Trans <transfire@gmail.com>

Sorry, typo:

s/`tag:foo.org:foo` of `tag:foo`/`tag:foo.org:foo` or `tag:foo`/

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
Yaml-core mailing list

Sorry, says the barman, we don't serve neutrinos. A neutrino walks into a bar.

Trans <transfire@gmail.com>
7r4n5.com      http://7r4n5.com