j4: (dodecahedron)
[personal profile] j4
Okay, I think I'm going mad. I put the following into our CMS:
<ul>
<li> Item 1
<ul>
<li> SubItem 1</li>
<li> SubItem 2</li>
</ul>
</li>
<li> Item 2</li>
</ul>
and it (silently, without any notification) 'corrected' it to the following:
<ul>
<li>Item 1
<ul></ul></li>
<li>SubItem 1</li>
<li>SubItem 2</li>
<li>Item 2</li></ul>
I pointed this out to the people who are setting up the new site for us, and they raised it as a support call with the CMS people, and got the following response:
"Could you please use the following schema:

<ul>
<li>Item 1</li>
<ul>
<li>SubItem 1</li>
<li>SubItem 2</li>
</ul>
<li>Item 2</li>
</ul>


Such syntax is formatted correctly."
If such syntax is formatted correctly, why doesn't it validate? I'm not even trying to be a validation Nazi about this (it's not as if anything that comes out of this CMS is ever going to validate anyway), it's more that I don't really want to have to 'correct' all our existing HTML to prevent it being 'corrected' by the CMS.

Date: 2007-03-20 11:38 am (UTC)
From: [identity profile] j4.livejournal.com
I've wrapped that fragment in a test page (http://www.chiark.greenend.org.uk/~janetmck/amirightornot.html) and you're right, it doesn't validate (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.chiark.greenend.org.uk%2F%7Ejanetmck%2Famirightornot.html&charset=%28detect+automatically%29&doctype=Inline).

Now, how do I go about telling software developers who are senior to me (and who know I'm not in a "technical" role) that they're wrong?

Date: 2007-03-20 12:06 pm (UTC)
From: [identity profile] barnacle.livejournal.com
"Can you clarify what you mean by valid, as this seems to fail on the W3C validation test server?"

"Clarify" is a great word for this situation.

Date: 2007-03-20 12:10 pm (UTC)
From: [identity profile] j4.livejournal.com
Magic - thank you!

(I'm afraid all my politeness generators are out of whack at the moment, as a bug in the code means that they convert everything to "AGGGGHHHHHH! COCKING COCKMONSTERS!" - which is formatted correctly.)

Date: 2007-03-20 12:59 pm (UTC)
From: [identity profile] barnacle.livejournal.com
Interestingly, I got that error from gcc only last week. Apparently your cock has to be UTF-8, and bend in the middle like a real cock should.

Date: 2007-03-20 02:43 pm (UTC)
ext_8103: (Default)
From: [identity profile] ewx.livejournal.com
UTF-8 cocks are also self-synchronizing, which is convenient.

Date: 2007-03-20 03:01 pm (UTC)
From: [identity profile] j4.livejournal.com
I'm not sure I'm following all this stuff about how UTF-8 cocks work... do you think you boys could show me?

Date: 2007-03-20 05:11 pm (UTC)
From: [identity profile] barnacle.livejournal.com
That's straight out of the ISO-8859-COCK codepage. In UTF-8 you'll need:

0xE2 B3 Image

Date: 2007-03-20 05:39 pm (UTC)
From: [identity profile] j4.livejournal.com
It's an optical illusion, right? I mean, they're actually both the same size.

Date: 2007-03-21 05:07 pm (UTC)
From: [identity profile] barnacle.livejournal.com
Yeah, when they're in use, but the second cock takes up more storage space while being in theory more portable across cockplementations.

It's one step in undoing the damage caused by the Tower of Cockle.

June 2025

S M T W T F S
1234567
891011121314
15 161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 26th, 2025 07:19 am
Powered by Dreamwidth Studios