Even though I always strive for complete validation these days, I often wonder if it's a waste of time. If the code runs and it looks the same in all browsers (I use browsershots.org to verify) then do I need to take it any further or am I just being overly anal?
What level do you hold your code to when you create it for:
a) yourself
...
I have a complete XML document in a string and would like a Document object. Google turns up all sorts of garbage. What is the simplest solution? (In Java 1.5)
Solution Thanks to Matt McMinn, I have settled on this implementation. It has the right level of input flexibility and exception granularity for me. (It's good to know if the err...
A few years ago we started playing around with XForms from the W3C for a web app which required hundreds of custom forms.
As they aren't currently supported natively by the major browsers, what parsers/tools are you using on your projects today?
I'm not really interested in plugins - this needs to be something server side that emulates...
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)?
...
Let's face it: writing proper, standards compliant HTML is quite difficult to do. Writing semantic HTML is even more so, but I don't think it's possible for a computer to figure that out.
So my question to you is what would the "ideal" feedback for a user who entered HTML be? Would it be a W3C validator style list of errors and correspo...
What is the state of native SVG support in the most popular browsers in their latest releases?
Internet explorer
Firefox
Opera
Safari
Chrome
Konqueror
Camino
...
What the best way to get up to speed on MathML and its usage in the world?
In particular I mean:
What do you use for rendering/editing it
Is it used in any commercial/open source applications that you can point me to
Is it popular and used a lot?
Are there any viewers that can be used inside a C#, C++, Java, ... application?
... (any ...
MTOM is the W3C Message Transmission Optimization Mechanism, a method of efficiently sending binary data to and from web services.
How does it work in general?
...
I'd like to change this:
<a href='foo'>
<div> Moo </div>
</a>
to be standards compliant (you're not supposed to have block elements in inline elements). Wiring javascript to the divs just for navigation seems like a hack and degrades accessibility.. In this case, my requirements are for 2 sets of borders on my fixed-dimension lin...
It seems to me that the key USP of Flash/Silverlight is the ability to provide access (albeit indirectly) to the graphics subsystem of the client, enabling video, smooth transitions and "fancy" visual effects.
This sounds like a good idea, and a natural evolution/extension of HTML. But surely it would be better if someone like the W3C c...
Im trying to get a value (IP address) from a W3C logfile (kinda like a text file). This is what I have so far but with no luck:
Set filename=ex%date:~-2,4%%date:~-10,2%%date:~-7,2%.log
For /F "tokens=2 delims=: . " %%A in ('E:\WINDOWS\system32\LogFiles\MSFTPSVC6141885\%filename%') do (Set ip=%%A)
and the log file looks like:
# So...
How do I disable downlevel rendering of my ASP.NET 2.0 site?
I have a single master-page that all the other pages inherit from, and do not want "downlevel"-versions of the server-controls to be sendt to Google and W3C-validators. The best thing would be if this feature could be disabled for all users on all pages on my site.
...
I'm trying to get the meta and img tags to close in the output from an xlt. I've looked into it, and it seems I need to select an "xml" method rather than "html", but this still doesn't seem to work. I've currently got:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL...
When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML
<input type="text" id="cardNumber" name="cardNumber" autocomplete='off'/>
will flag a warning on the W3C validator:
there is no attribute "autocomplete".
Is there a W3C / standards way to disable browser auto-complete on sensi...
I'd like to validate that users of my WPF application are putting proper XHTML into its TextBox control.
I found that there's an API for the W3C Markup Validator.
It's web page says:
Building of libraries used to interact
with the validator's API is
encouraged.
and it lists known Perl, PHP/PEAR and ColdFusion libraries.
Doe...
At the top of many pages in our web application we have error messages and notifications, 'Save' and other buttons, and then our h1 tag with the content title. When making a web application accessible, is it ever acceptable to have content above the top-level structure tag like we do here?
...
I've been advised that if a 'title' attribute expands upon what's present in a control's visible text, it should include all information in the visible text, because the screenreader may read the title instead of the visible text. To clarify exactly how this works, are any of the following points true (for must screenreaders)?
If a la...
I found that there's an API for the W3C Markup Validator.
I had earlier asked: Is there a .NET library for the W3C Markup Validator API?
Assaf's answer:
This API is SOAP based. If you want to
use it in a .net application you can
just add the web reference and code
against it. Seems simple enough as
it's basically a one-met...
I'm using the W3C validation service to check that the text I type into a TextBox is valid markup.
It's almost working. But, under particular conditions my input results in an error and then endless timeout exceptions. I have to close an re-open the program to get it working again.
Please glance over my code and help me to solve th...
The problem I am having is that given an input element with a maxlength that is much wider than the element's width (as set in its style), and, given a value that is wider than the element's width, how can I get the element to "scroll" to the end of the text. In IE it is easy, I create a textRange object, put its start and end position ...