|
|
| xhtml output |
|
Matthew Leverton
Supreme Loser
January 1999
|
XHTML output is now enabled for all browsers that support it. (Translation: not Internet Explorer.) This is not trivial, as it means each page must conform to strict XML standards. If you come across a page that is not well formed, you will get a parser error. I've been using XML myself on a.cc for a while, and I know there are many of them. You should do two things if that happens:
Note that the &foo; HTML entities (e.g., —) are not valid XHTML and are not translated. The number codes will still work. I will some day map the HTML entities to number codes automatically for convenience. Google maps on profile pages are not working yet. The switch to XML is primarily because I'm a masochist and secondarily because it forces the strictest adherence to the standards, eliminating most cross-platform issues. It will also let me enable MathML, which I have been testing. Firefox's copy and paste works properly in XML mode, so the missing line breaks in code boxes will no longer be a problem. (You'll need to refresh before Spell Check works.) |
|
LennyLen
Member #5,313
December 2004
|
Matthew Leverton said: I've been using XML myself on a.cc for a while, and I know there are many of them. There can't be too many left. I haven't seen any parsing errors for ages.
|
|
ReyBrujo
Moderator
January 2001
|
You should add a Valid XHTML link at the bottom (with the referral check against W3C checker). -- |
|
Matthew Leverton
Supreme Loser
January 1999
|
The XML is well formed, but there are plenty of XHTML violations. Update: profile maps are working. |
|
Shravan
Member #10,724
February 2009
|
{"name":"599847","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/6\/1639d53d40eeaabf7daf82ce0cdb95a3.jpg","w":738,"h":562,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/6\/1639d53d40eeaabf7daf82ce0cdb95a3"}
|
|
gnolam
Member #2,030
March 2002
|
Matthew Leverton said: Note that the &foo; HTML entities (e.g., —) are not valid XHTML and are not translated.
Aww. -- |
|
MiquelFire
Member #3,110
January 2003
|
I actually thought they were XHTML valid actually. Maybe it's the XML parser not liking them when you don't use a doctype. --- |
|
Matthew Leverton
Supreme Loser
January 1999
|
MiquelFire said: I actually thought they were XHTML valid actually. Maybe it's the XML parser not liking them when you don't use a doctype. I agree (and in fact the doctype I'm using has them specified), but Opera refuses to display them. |
|
MiquelFire
Member #3,110
January 2003
|
Ah, it's Opera's fault. Okay then. --- |
|
Shravan
Member #10,724
February 2009
|
{"name":"599863","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/0\/b06223ea6b99310806e737adc40b1c24.jpg","w":940,"h":596,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/0\/b06223ea6b99310806e737adc40b1c24"}
|
|
Matthew Leverton
Supreme Loser
January 1999
|
It would be simpler if you just pasted in the URL (and the error message if so inclined) in plain text. |
|
ReyBrujo
Moderator
January 2001
|
XML Parsing Error: not well-formed Location: http://www.allegro.cc/depot/KiGB/ Line Number 220, Column 16: ~ Mario & Yoshi<br /> ---------------^
-- |
|
SiegeLord
Member #7,827
October 2006
|
http://www.allegro.cc/iotd/view/2005-03-10 XML Parsing Error: mismatched tag. Expected: </img>. Location: http://www.allegro.cc/iotd/view/2005-03-10 Line Number 81, Column 3: </div><div style="border-top: dashed #999 1px; margin: 0.5em; padding: 0.5em;" id="c-472"> --^
"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
|
Peter Wang
Member #23
April 2000
|
Currently the front page of the forums has this: "Allegro & Windows 7"
|
|
Goalie Ca
Member #2,579
July 2002
|
This page is completely broken for me: ------------- |
|
bamccaig
Member #7,536
July 2006
|
I approve. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Thomas Fjellstrom
Member #476
June 2000
|
This thread is broken: http://www.allegro.cc/forums/thread/585707 -- |
|
Vanneto
Member #8,643
May 2007
|
In capitalist America bank robs you. |
|
GullRaDriel
Member #3,861
September 2003
|
When posting (I mean after clicking on 'post') I often have that one, which goes away after a refresh (and my post is taken in account) SiegeLord said:
XML Parsing Error: mismatched tag. Expected: </br>.
"Code is like shit - it only smells if it is not yours" |
|
Neil Walker
Member #210
April 2000
|
doubt this is a bug, just by design and nothing to do with the xhtml but on the hover doesn't work with code: {"name":"600001","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/3\/d384072340152a5915e138b9986ee6b7.png","w":324,"h":144,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/3\/d384072340152a5915e138b9986ee6b7"} Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|
GullRaDriel
Member #3,861
September 2003
|
It IS a bug. He forgot two / ;-p "Code is like shit - it only smells if it is not yours" |
|
Vanneto
Member #8,643
May 2007
|
I am 100% sure I got an error here: Problem is, when I refreshed, it went away... In capitalist America bank robs you. |
|
|