Re: [WSG] Validation questions

2007-11-27 Thread David Hucklesby
On Tue, 27 Nov 2007 13:34:05 +1000, Taco Fleur wrote:

 I have an error where it says document type does not allow element OL here
 The ol tag is within a formfieldset I don't understand, is this not 
 allowed?

Pass.

 I have an error where it says end tag for element P which is not open. 
 The p tag
 is actually within javascript, within the headscript I don't see how I 
 can fix this
 error.


Are you using the hide from Netscape 1 practice of enclosing embedded
JS within HTML comments? If so, you may have a decrement operator
-- that ends the comment, causing some agents to begin parsing your
JS as HTML.

Without seeing your code, though, this is just a guess. There are
several other possibilities. We need more information.

Cordially,
David
--



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Validation questions

2007-11-27 Thread David Hucklesby
On Tue, 27 Nov 2007 13:34:05 +1000, Taco Fleur wrote:

 I have an error where it says document type does not allow element OL here
 The ol tag is within a formfieldset I don't understand, is this not 
 allowed?

Pass.

 I have an error where it says end tag for element P which is not open. 
 The p tag
 is actually within javascript, within the headscript I don't see how I 
 can fix this
 error.


Are you using the hide from Netscape 1 practice of enclosing embedded
JS within HTML comments? If so, you may have a decrement operator
-- that ends the comment, causing some agents to begin parsing your
JS as HTML.

Without seeing your code, though, this is just a guess. There are
several other possibilities. We need more information.

Cordially,
David
--



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Validation questions

2007-11-26 Thread Taco Fleur
Hello all,

I have some validation issues presented to me by http://validator.w3.org and
I'm hoping someone can shed a bit more light on them.

I have an error where it says document type does not allow element OL
here
The ol tag is within a formfieldset I don't understand, is this not
allowed?

I have an error where it says end tag for element P which is not open.
The p tag is actually within javascript, within the headscript
I don't see how I can fix this error.

Thanks in advance.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Validation questions

2007-11-26 Thread Bryan GARNETT-LAW
Are you using a STRICT doctype?  If so, form tags can only contain
block level elements.

http://24ways.org/2005/transitional-vs-strict-markup



This e-mail is confidential. If you are not the intended recipient you must not 
disclose or use the information contained within. If you have received it in 
error please return it to the sender via reply e-mail and delete any record of 
it from your system. The information contained within is not the opinion of 
Edith Cowan University in general and the University accepts no liability for 
the accuracy of the information provided.

CRICOS IPC 00279B


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Validation questions

2007-11-26 Thread Lea de Groot
Hey Taco!

This sounds like one of those 'its much easier if you show us the code' 
things :)
Write a stripped down version, if its Things You Must Not Show The 
Public ;)
(And often stripping it down will give that marvellous illumination 
that fixes the problem :))

 I have an error where it says document type does not allow element OL
 here
 The ol tag is within a formfieldset I don't understand, is this not
 allowed?

Could the OL be occurring within an inline element?
That would not validate.

 I have an error where it says end tag for element P which is not open.
 The p tag is actually within javascript, within the headscript
 I don't see how I can fix this error.

Move the '/p' into the js too.
Perhaps have 'openThingy' and 'closeThingy' functions?

warmly,
Lea
-- 
Lea de Groot
Elysian Systems
Brisbane, Australia


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Validation questions

2007-11-26 Thread Christian Montoya
On Nov 26, 2007 10:34 PM, Taco Fleur [EMAIL PROTECTED] wrote:

 I have an error where it says end tag for element P which is not open.
 The p tag is actually within javascript, within the headscript
 I don't see how I can fix this error.


Clearly you are using XHTML.

You have to wrap all your JS with CDATA, I don't have a specific
example but look that up and you'll find your solution.

-- 
--
Christian Montoya
christianmontoya.net


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Validation questions

2007-11-26 Thread Taco Fleur
Hi, yes, am using STRICT doctype
OK, if I understand this correctly, all I need to do to fix it is surround
it with a DIV.

Cheers 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bryan GARNETT-LAW
Sent: Tuesday, 27 November 2007 2:21 PM
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] Validation questions

Are you using a STRICT doctype?  If so, form tags can only contain block
level elements.

http://24ways.org/2005/transitional-vs-strict-markup



This e-mail is confidential. If you are not the intended recipient you must
not disclose or use the information contained within. If you have received
it in error please return it to the sender via reply e-mail and delete any
record of it from your system. The information contained within is not the
opinion of Edith Cowan University in general and the University accepts no
liability for the accuracy of the information provided.

CRICOS IPC 00279B


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Validation questions

2007-11-26 Thread Taco Fleur
Hi,

 This sounds like one of those 'its much easier if you show us the code' 
things :)

Yes, its development, don't want Google to pick up on it.

 Move the '/p' into the js too.

It needs to be inline due to coding framework used, the following is the
code:
if ( myArray.length == 0 ) {
myTarget.innerHTML = 'pNo suggestions found/p';
return false;
}

 Perhaps have 'openThingy' and 'closeThingy' functions?




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Validation questions

2007-11-26 Thread Taco Fleur
Hi,

No actually not using XHTML. It's STRICT 4.01 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christian Montoya
Sent: Tuesday, 27 November 2007 3:11 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Validation questions

On Nov 26, 2007 10:34 PM, Taco Fleur [EMAIL PROTECTED] wrote:

 I have an error where it says end tag for element P which is not open.
 The p tag is actually within javascript, within the headscript I 
 don't see how I can fix this error.


Clearly you are using XHTML.

You have to wrap all your JS with CDATA, I don't have a specific example but
look that up and you'll find your solution.

--
--
Christian Montoya
christianmontoya.net


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***