Why the name of a element can not start with a digital letters?

Discussion in 'XML' started by SutterCreek, Dec 24, 2006.

  1. SutterCreek

    SutterCreek Guest

    I know the w3c recommendation has the defination about that.
    But, I am just curious, where does this restriction come from? What is
    the purpose?

    Thanks in advance.
     
    SutterCreek, Dec 24, 2006
    #1
    1. Advertising

  2. SutterCreek

    Peter Flynn Guest

    SutterCreek wrote:
    > I know the w3c recommendation has the defination about that.
    > But, I am just curious, where does this restriction come from? What is
    > the purpose?


    It's inherited from SGML, where it was the default.
    In SGML, however, it would be possible to redefine your SGML Declaration
    to allow digits as name start characters. In XML, the Declaration is
    fixed and invariable, so you can't.

    ///Peter
    --
    XML FAQ: http://xml.silmaril.ie/
     
    Peter Flynn, Dec 24, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    976
    Mark Rae
    Dec 21, 2006
  2. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,215
    Smokey Grindel
    Dec 2, 2006
  3. Merrigan
    Replies:
    4
    Views:
    606
    Chris
    Dec 14, 2007
  4. Venugopal
    Replies:
    11
    Views:
    1,670
    Tassilo v. Parseval
    Nov 5, 2003
  5. Replies:
    6
    Views:
    211
Loading...

Share This Page