W3C home > Mailing lists > Public > site-comments@w3.org > March 2010

Re: Custom tags and attributes

From: Ian Jacobs <ij@w3.org>
Date: Wed, 24 Mar 2010 12:53:13 -0400
To: "Andrew Marcus" <markelovmarcus@gmail.com>
Message-Id: <B607AAE3-A878-4E7A-ABEB-F2252E788F16@w3.org>
Cc: <site-comments@w3.org>

On 24 Mar 2010, at 12:18 PM, Andrew Marcus wrote:

> Hello.
>
> I need to use custom tags and attributes on my web pages, just to  
> store and use some data via javascript (I donít allow to create this  
> tags at runtime too). All I know is that XHTML allows Namespaces  
> usage, but in this case page doesnít pass validation on W3C site. I  
> canít find any methods to solve my problem to use custom attrs and  
> keep code valid. Could you advice me something? Thank in advance.

Andrew,

You would need a custom dtd or schema for your specialized validation.

There are other forms of quality control, such as determining whether  
your content is well-formed.
I sometimes use the tidy tool for this.

  _ Ian

>
> Andrew Marcus.

--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447
Received on Wednesday, 24 March 2010 16:53:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:32 GMT