Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)

TorgoX
  sburkeNO@SPAMcpan.org
http://search.cpan.org/~sburke/

"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Sunday March 21, 2004
12:19 AM

<foo.bar />

[ #17988 ]
Dear All,

Here's the grammar for symbol names in XML:

Name ::= (Letter | '_' | ':') (NameChar)*
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender

Now, "Letter" and "Digit" are internationalized things with not terribly surprising contents; "CombiningChar" is mostly accent characters, and "Extender" is mostly just some characters in other alphabets that aren't exactly letters but which occur in the middle of words (lots of them meaning "repeat previous syllable" or "lengthen previous vowel").

But what's interesting here is "." as a legal character for use in XML elements or attributes -- I've just never ever seen that used.

Has anyone here ever seen <foo.bar /> ?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.