Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Validating invalid keywords

0 views
Skip to first unread message

K Viltersten

unread,
May 16, 2008, 3:19:35 AM5/16/08
to
I'm using the following lines in my page.aspx code.

<a href="#"
ext:qtitle="Title of the info"
ext:qwidth='250'
ext:qtip="The info itself."
>Some text</a>

VS reports mucho erroro on this e.g.
"Unrecognized namespace 'ext'."
"Validation (XHTML 1.0 Transitional): Attribute 'qtitle' is not a valid
attribute of element 'a'."
and frankly, even if the application runs as it's supposed to, it's a
matter of principle and good coding not to generate such errors. How can i
"declare" those things so VS won't bark at them?

--
Regards
Konrad Viltersten

Alex Meleta

unread,
May 16, 2008, 5:58:56 AM5/16/08
to
Hi

It's like for XML, then you can define your own namespace for whole page
(set of nodes)
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ext="http://mycontrolschemapath"
>
or for the control itself <a xmlns:ext="http://mycontrolschemapath href="#"
...

Regards, Alex
[TechBlog] http://devkids.blogspot.com

George Ter-Saakov

unread,
May 16, 2008, 10:51:06 AM5/16/08
to
Just diable HTML validation in the Tools/Options

George

"K Viltersten" <tm...@viltersten.com> wrote in message
news:op.ua8jy...@lp028.pagero.local...

K Viltersten

unread,
May 16, 2008, 3:21:12 PM5/16/08
to

Thanks!

For some reason, i can only check/uncheck the "show errors" checkbox. The
more specific options are greyed out. Is it normal?

--
Regards
Konrad Viltersten

George Ter-Saakov

unread,
May 16, 2008, 3:42:42 PM5/16/08
to
Yep, they come to live only if you enable "show errors", then you can
granulate what errors to show..

George.

"K Viltersten" <tm...@viltersten.com> wrote in message

news:op.ua9hd...@lp028.pagero.local...

K Viltersten

unread,
May 18, 2008, 3:31:04 AM5/18/08
to
> Yep, they come to live only if you enable
> "show errors", then you can granulate what
> errors to show..

On my installation they're dead no matter if
"show errors" is checked or unchecked. Well,
it's not that big deal, really. Thanks!

--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

0 new messages