Validating invalid keywords

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • K Viltersten

    Validating invalid keywords

    I'm using the following lines in my page.aspx code.

    <a href="#"
    ext:qtitle="Tit le of the info"
    ext:qwidth='250 '
    ext:qtip="The info itself."
    >Some text</a>
    VS reports mucho erroro on this e.g.
    "Unrecogniz ed 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 cani
    "declare" those things so VS won't bark at them?

    --
    Regards
    Konrad Viltersten
  • Alex Meleta

    #2
    Re: Validating invalid keywords

    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 ://mycontrolschema path"
    >
    or for the control itself <a xmlns:ext="http ://mycontrolschema path href="#"
    ....

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



    Comment

    • George Ter-Saakov

      #3
      Re: Validating invalid keywords

      Just diable HTML validation in the Tools/Options

      George

      "K Viltersten" <tmp1@vilterste n.comwrote in message
      news:op.ua8jyxo vi74t80@lp028.p agero.local...
      I'm using the following lines in my page.aspx code.

      <a href="#"
      ext:qtitle="Tit le of the info"
      ext:qwidth='250 '
      ext:qtip="The info itself."
      >Some text</a>
      VS reports mucho erroro on this e.g.
      "Unrecogniz ed 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


      Comment

      • K Viltersten

        #4
        Re: Validating invalid keywords

        Den 2008-05-16 16:51:06 skrev George Ter-Saakov <gt-nsp@cardone.com >:
        Just diable HTML validation in the Tools/Options
        >
        George
        >
        "K Viltersten" <tmp1@vilterste n.comwrote in message
        news:op.ua8jyxo vi74t80@lp028.p agero.local...
        I'm using the following lines in my page.aspx code.
        >
        <a href="#"
        ext:qtitle="Tit le of the info"
        ext:qwidth='250 '
        ext:qtip="The info itself."
        >Some text</a>
        >
        VS reports mucho erroro on this e.g.
        "Unrecogniz ed 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?

        --
        Regards
        Konrad Viltersten

        Comment

        • George Ter-Saakov

          #5
          Re: Validating invalid keywords

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

          George.

          "K Viltersten" <tmp1@vilterste n.comwrote in message
          news:op.ua9hdmg wi74t80@lp028.p agero.local...
          Den 2008-05-16 16:51:06 skrev George Ter-Saakov <gt-nsp@cardone.com >:
          Just diable HTML validation in the Tools/Options
          >
          George
          >
          "K Viltersten" <tmp1@vilterste n.comwrote in message
          news:op.ua8jyxo vi74t80@lp028.p agero.local...
          I'm using the following lines in my page.aspx code.
          >
          <a href="#"
          ext:qtitle="Tit le of the info"
          ext:qwidth='250 '
          ext:qtip="The info itself."
          >Some text</a>
          >
          VS reports mucho erroro on this e.g.
          "Unrecogniz ed 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?

          --
          Regards
          Konrad Viltersten


          Comment

          • K Viltersten

            #6
            SV: Validating invalid keywords

            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

            Comment

            Working...