Validating invalid keywords

K

K Viltersten

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?
 
G

George Ter-Saakov

Just diable HTML validation in the Tools/Options

George

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?
 
K

K Viltersten

Den 2008-05-16 16:51:06 skrev George Ter-Saakov said:
Just diable HTML validation in the Tools/Options

George

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."

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?

Thanks!

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

George Ter-Saakov

Yep, they come to live only if you enable "show errors", then you can
granulate what errors to show..

George.

Den 2008-05-16 16:51:06 skrev George Ter-Saakov said:
Just diable HTML validation in the Tools/Options

George

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."

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?

Thanks!

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

K Viltersten

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!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,474
Latest member
AntoniaDea

Latest Threads

Top