Need help with little explanation on this

  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Code: [ Select ]
 
Line 3, Column 163: "xmlns:" is not a member of a group specified for any attribute.
…s-microsoft-com:office:office" xmlns:(null)1="http://www.w3.org/TR/REC-html4…
 
 
  1.  
  2. Line 3, Column 163: "xmlns:" is not a member of a group specified for any attribute.
  3. …s-microsoft-com:office:office" xmlns:(null)1="http://www.w3.org/TR/REC-html4…
  4.  
  5.  

Code: [ Select ]
 
Line 203, Column 11: there is no attribute "src".
<embed src="images/banner-sunUwhipe.swf" quality="high" bgcolor=
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
 
 
  1.  
  2. Line 203, Column 11: there is no attribute "src".
  3. <embed src="images/banner-sunUwhipe.swf" quality="high" bgcolor=
  4. You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
  5. This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
  6. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
  7.  
  8.  


This is not a real work. For my college assignment, I need to explain a little of each of the message generated by W3Validator. Actually I was not asked to explain but I just thought I would go little extra mile if I have to. Any help is already kindly appreciated. Thank you.

:)
  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

Hya George,

I can help with some...

"src". George is usually an image src/source so src is where the image is on the server. You *must provide the full path. A path is where your image is stored its link will be fairly long like mine.

<center><img src="http://www.jungaling.com/wildimages/arggggggesm.jpg" alt="Orangutan Scream" height="194" /></center>

(not allowed to use HTML in here Geroge so my link will not show the image as it should be shown, soz!)

Quote:
<embed src="images/banner-sunUwhipe.swf" quality="high" bgcolor=


I am in the middle of learning how to create webby so I can sell them :mrgreen: so still learning.

I have just this minute replied about two doc types -- strict and transitional. The validator is telling you you are using the wrong doc type.

In the right document type a swf would appear like so:


Code: [ Select ]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8- »
444553540000" width="300" height="120">
    <param name="movie" value="myContent.swf" />
    <object type="application/x-shockwave-flash" »
data="myContent.swf" width="300" height="120">
        <p>Alternative content</p>
    </object>
 
</object>
  1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8- »
  2. 444553540000" width="300" height="120">
  3.     <param name="movie" value="myContent.swf" />
  4.     <object type="application/x-shockwave-flash" »
  5. data="myContent.swf" width="300" height="120">
  6.         <p>Alternative content</p>
  7.     </object>
  8.  
  9. </object>


You can learn all about the above at A list Apart:
http://www.alistapart.com/articles/flashembedcagematch/

If your using DW when you open a new page it will more than likely be the tansitional doc type which is the one you need as advised by the validator.

I have done what I can George.

:mrgreen:
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6254
  • Loc: Seattle, WA

Post 3+ Months Ago

"xmlns" is an attribute for declaring the XML namespace for a document. Where are you getting this error from? Can you post the snippet of code that's causing it?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

I get the xmlns error using this atop my document. Along with character "(" not allowed in attribute specification list..

Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:(null)="http://www.w3.org/TR/html4/strict.dtd">
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html xmlns:(null)="http://www.w3.org/TR/html4/strict.dtd">


I'm guessing there's a syntax error in the <head> element.
HTML4 doesn't use the xmlns attribute as far as I know anyway, and judging by the "line 3" Im guessing there's an <?xml> declaration that needs to go too.
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Suzie, thank you. :)

spork wrote:
"xmlns" is an attribute for declaring the XML namespace for a document. Where are you getting this error from? Can you post the snippet of code that's causing it?


Hi spork, I have to take some time to search where is the snippet. I will leave it up to here first. Thank you.


Hi Joe, thank you for your explanation.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 29 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.