What characters allowed in anchor names?

William Spitzak <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
According to the yaml 1.2 spec documentation, the characters allowed in 
an anchor name are all c-printable except space, tab, lf, cr, or one of 
",[]{}". This seems to be true even in older versions.

However the libyaml source I have is severely more restricted, to 
alphanumeric, dash, and underscore.

Which is correct?

Personally I would vote for allowing as many characters as possible.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
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.