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.


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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:42 UTC