Re: Help understanfing tag resolution confusion

Trans <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <CAEu+kw3A2_JMp+eDxLRpjzcnvpVVBXA+RJ4RpV5HukNCH+YQxQ@mail.gmail.com>
Ok. I think I understand. I also see now why it seems confusing. It's not
very intuitive that the initial `!` doesn't just mean "tag", it means
"local tag", unless that is if a `%TAG ! foo` directive has been used. Then
they are transformed into "domain tags" without any initial `!`.

In other words, when someone sees something like:

    --- !foo.org:person
    name: Tom

They think that's a domain tag b/c it resembles a domain tag. They do not
realize it needs to be.

    --- !<foo.org:person>
    name: Tom

In hindsight this was probably one of the arguments for using `!!` for
local tags instead of `!`.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.