standards-compliance

Is XHTML compliance pointless?

I'm building a site right now, so far I've painfully forced everything to be compliant and it looks pretty much the same across browsers. However, I'm starting to implement some third party/free javascripts which do things like add attributes (eg. order=2). I could work around this but it's a pain, and I'm starting to lose my principals ...

Web Site Compliance with the Americans with Disabilities Act (ADA)

Are there any automatic, online or off, tools for testing xhtml/css for compliance with screen readers and other visual guidelines of the Americans with Disabilities Act (ADA)? ...

Why is software support for Bidirectional text (Hebrew,Arabic) so poor?

While most operating systems and web browsers have very good support for bidirectional text such as Hebrew and Arabic, most commercial and open-source software does not: Most text editors, besides the original notepad and the visual studio editor, does a very poor job. (And I tried dozens of them). I could not find any file compare too...

How universally is C99 supported ?

How universally is the C99 standard supported in today's compilers ? I understand that not even GCC fully supports it. Is this right ? Which features of C99 are supported more than others, i.e. which can I use to be quite sure that most compilers will understand me ? Thanks ...

Can an html element have multiple ids?

I understand that an id must be unique within an HTML/XHTML page. My question is, for a given element, can I assign multiple ids to it? <div id="nested_element_123 task_123"></div> I realize I have an easy solution with simply using a class. I'm just curious about using ids in this manner. ...

Making a DOCTYPE-less HTML page W3C compliant.

How do i take a HTML site that currently has no doctype declaration and make it W3C compliant? ...

HTTP compliance testing

What would you use to perform a compliance testing of an HTTP proxy? I've seen two projects so far: Web Polygraph (the feedback I got from a coworker is mostly negative) Funkload ...

Is it possible to make BEA Portal 9.2 close link and meta tags with '/>' so they are XHTML valid?

I'm trying to make a BEA Portal website XHTML compliant, because this has been written in the contract with the client, and I'm stuck on this problem: BEA renders <meta> and <link> tags without the closing slash, i.e. <link/> and <meta/> as it is required by XHTML. When I look at the documentation from BEA it seems that it should be pos...

Netbeans J2ME SVG Compliance

Hello guys, I coded some svg images for a project i'm working on. But when i try to put them on a screen(form) in the netbeans software (j2me), it says "the image is not SVG Tiny compliant". I've even tried testing with svg images from Sun's WTK demo's THAT WORK when deployed but it says the same thing. Any ideas on whats gone wrong? Tha...

iPhone Security Guidelines

Silly question: Does Apple provide specific guidelines for contacting servers via http vs https? Also, what data is considered to require https (ie password, geopoint, bank data, etc.) Is there a concrete guideline from Apple on this? More specifically, does anyone know exactly how Apple checks/verifies that an application should or shou...

RegEx to parse or validate Base64 data

Is it possible to use a RegEx to validate, or sanitize Base64 data? That's the simple question, but the factors that drive this question are what make it difficult. I have a Base64 parser that can not fully RELY on the input data to follow the RFC specs. So, the issue I face is maybe b64 data that is not broke into 78 (I think it's 78...

Standard behavior of tellp on empty ostringstream

I have a question on the standard behavior of calling tellp on an empty ostringstream. I have a function foo which calls tellp the first thing: void foo(std::ostream& os) { std::ostream::pos_type pos = os.tellp(); // do some stuff. } int main() { std::ostringstream os; foo(os); } In Visual Studio 2005, calling this fu...

Is it valid to have a html form inside another html form

Is it valid html to have the following: <form action="a"> <input.../> <form action="b"> <input.../> <input.../> <input.../> </form> <input.../> </form> So when you submit "b" you only get the fields within the inner form. When you submit "a" you get all fields minus those within "b". If it isn'...

Understanding CLS compliance and correct code

I've attempted to create an abstracted control to manage some of the state in our application, however have run a foul of some CLS issues and was hoping that someone could provide some insight. I have an Enumeration as such: <Flags()> _ Public Enum FormState Read = 1 Edit = 2 Insert = 4 End Enum And a class as such: Publ...

Is there a way to reference values as "variables" in CSS?

I am trying to write the HTML and CSS for an internal webapp properly. As much as technically possible, I want the HTML markup to define the content of the page and be completely independent of what the layout will need to be. Obviously it is not possible to do this perfectly. I die a little inside every time I have to add an extra nest...

Backwards compatibility vs. standards compliancy?

Say you got an old codebase that you need to maintain and it's clearly not compliant with current standards. How would you distribute your efforts to keep the codebase backwards compatible while gaining standards compliance? What is important to you? ...

Why do browsers have such poor support for W3C standards?

I can't figure it out. Is it because the people making the browsers don't care? Is it because we, as developers, already write hack code to get around things that don't work in browser X and Y? ...

Bug in Visual Studio C++ compiler?

This code behaves weird in MS Visual Studio: char *s = "hello"; s[0] = 'a'; printf(s); In release build with optimization turned on it ignores s[0] = 'a' and prints "hello". Without optimization or in debug build it crashes with access violation. Is this behavior is c++ standard compliant or no? In my opinion, compiler should only all...

How to programmatically turn off quirks mode in IE8 WebBrowser control?

I want to use IE8 as a WebBrowser control in a C# application. How can I disable "quirks mode" and force IE into standards compliance (as far as it is implemented)? ...

How do you embed a SWF object in an XHTML 1.0 Strict webpage?

Hi there, simple question: I'm looking for a standards compliant way to embed a flash file. I've been using Dreamweaver for this project (not because I like it, but because my co-worker isn't an HTML guru) and it apparantly uses non-standard code to embed flash files. It's probably standard in HTML, but not so much in XHTML which I prefe...