Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Are you saying ' and " must not be single octets anywhere in the text of HTML, but rather, that ' and " must be used? What part of the HTML spec did you get that from? In attribute values, yes, but in the text, there's no such requirement.
    • These are subtleties that I see no need to try to explain to people that resist even encoding . This is not a normative reference work, but a rule of thumb intended for an audience with a poor track record of understanding and accepting standards.
      • It's not a subtlety: there is simply no need to encode ' and " anywhere but in attributes.

        Also, ' is illegal in HTML. It's only a named entity in XHTML.
        • But not even all attributes require &quot:, only attributes that use " as a delmiter. My original intent was a single clear rule, without dithering or qualifying that could be used as an excuse to ignore this process based on complexity.

          I work with several third-party vendors in the financial sector, who have a great deal to learn about web development. This is meant to be simple enough to remember for those writing home banking, bill payment, loan application, and other web apps, but also apps fr

          • by pudge (1) on 2005.07.07 12:47 (#41711) Homepage Journal
            I'd say a better rule is to not delimit attributes with ', and use onle ", as God intended. :-)

            As to why ' is missing, no idea, but yeah, it seems lame. But as everyone seems to accept it (except for proper strict validators that know about entities), it's not something I'd personally care too much about. Just offering it as a footnote.