RE: [VE][html5] internal error from xmlns=""

Well it was to a fashion.  I have my own code auto-generating content and
the full html document using xslt.  Hence my certainty about the document
being well-formed!
BTW.  The test example I posted earlier was hand-crafted - my lazy typing
meant it wasn't well-formed.  So before anyone spots the error here it is
again with the proper closing tags.

<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
  <p xmlns="">Example of breaking validator</p>
</body>
</html>



-----Original Message-----
From: omkar.chandrasekhar@wipro.com [mailto:omkar.chandrasekhar@wipro.com] 
Sent: 05 October 2011 10:42
To: phil.blackburn@arabis.co.uk; jkorpela@cs.tut.fi
Cc: www-validator@w3.org
Subject: RE: [VE][html5] internal error from xmlns=""

Yes, I agree. 

I thought of checking if the code is autogenerated, by any
non-standard-means not adhering to W3C specs.

-----Original Message-----
From: Phil Blackburn [mailto:phil.blackburn@arabis.co.uk]
Sent: 05 October 2011 15:05
To: Omkar Chandrasekhar K (WT01 - GMT-Telecom Equipment); jkorpela@cs.tut.fi
Cc: www-validator@w3.org
Subject: RE: [VE][html5] internal error from xmlns=""

Hang on a moment. We're on crossed wires here.

My html5 document was incorrect - I already knew this and it has since been
fixed.

The point of my posting is that the W3C validator was not dealing with the
invalid document in a gracefully manner. It just crashed.  And since it's in
beta I thought I should report this fact.

In my case the document was well formed xml and it only failed due to a
schema conflict.  In this particular case, I believe the validator should
have reported the document error instead of crashing.    I understand that
it can't deal with every conceivable messed up document and a crash is
always a possibility however it would have been more useful to me (and other
users) if the validator could have at least hinted at the position in the
document where it stop processing. 



 



-----Original Message-----
From: omkar.chandrasekhar@wipro.com [mailto:omkar.chandrasekhar@wipro.com]
Sent: 05 October 2011 10:13
To: jkorpela@cs.tut.fi; phil.blackburn@arabis.co.uk
Cc: www-validator@w3.org
Subject: RE: [VE][html5] internal error from xmlns=""

By the way, have you used any generators like Microsoft-Word to generate
this HTML-document?

-----Original Message-----
From: www-validator-request@w3.org [mailto:www-validator-request@w3.org] On
Behalf Of Jukka K. Korpela
Sent: 05 October 2011 14:14
To: Phil Blackburn
Cc: www-validator@w3.org
Subject: Re: [VE][html5] internal error from xmlns=""

3.10.2011 15:38, Phil Blackburn wrote:

> My document contain this element
>
> <ulid="mainMenu"class="menulevel1 sf-menu"xmlns="">
>
> which clearly has an invalid xmlns attribute.
>
> The validator stumbled when it saw the rotten attribute with the error 
> "A bug manifested itself in the application internals. Unable to continue"
>
> You need a validation error message to cover it.

Can you post the URL of your document? I cannot reconstruct the problem by
using the tag in a minimal document, whether I used HTML5 or XHTML 1.0.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email. 

www.wipro.com


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email. 

www.wipro.com

Received on Wednesday, 5 October 2011 09:53:49 UTC