LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives

XML-L Archives

XML-L Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave XML-L
Reply | Post New Message
Search Archives

Subject: Re: Underscore in tag names?
From: Linda van den Brink <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Tue, 8 Dec 1998 12:47:15 +0100

text/plain (55 lines)

I suppose it's indeed the parser then... I'm using Jade (which works with
nsgmls) to convert my XML files to HTML, and when the parser processes the
XML it complains about the underscore in tag names. Unfortunately I can't
just use Jade with another parser....

-----Original Message-----
From: Steve Hill1 [mailto:[log in to unmask]]
Sent: Tuesday, December 08, 1998 11:57 AM
To: [log in to unmask]
Subject: Re: Underscore in tag names?

Tag names are allowed to have the underscore character in them as per 3.1 of
the specification.  A tag consists of 'name' elements, which are letters,
underscores and colons 2.3 of the spec.

If the parser doesn't work can I suggest another one?!? :-)


Java Technology Centre

E-Mail: [log in to unmask]
Ext:        +44 1 962 818 569
Int:          7 / 248 569

[log in to unmask] on 12/08/98 09:30:56 AM
Please respond to [log in to unmask]
To: [log in to unmask]
Subject: Underscore in tag names?

Hi all,

Is it correct that XML does not allow the underscore character in tag names?
I tried to use elements like <standard_command> and <form_command>, but I
get a parser error saying "character '_' not allowed in start tag" (or end

I assume that this would be defined in the XML declaration ("xml.dcl"?), but
I don't know how to read this type of file. Is there a way that I can use
the underscore in tag names, or is it just an illegal character for tag


> ---------------------------------------------------------------------
> Linda van den Brink
> BaaN Knowledge Development
> Mailto:[log in to unmask]
> ---------------------------------------------------------------------

Back to: Top of Message | Previous Page | Main XML-L Page



CataList Email List Search Powered by the LISTSERV Email List Manager