tags: XHTML

Action executed in 0.000

Each Tag

XHTML

Common tags - number of posts

account (1), development (1), entity (1), SVG (1), RDF (1), UTF-8 (1), atilde (1), delete (1), validation (1), articles (1), standard (1), TrickleUp (1), features (1), MathML (1),

●●●●●○○○

An XHTML + MathML + SVG Profile

W3C

An XHTML+MathML+SVG profile is a profile that combines XHTML 1.1 [XHTML11], MathML 2.0 [MathML2] and SVG 1.1 [SVG11] together. This profile enables mixing XHTML, MathML and SVG in the same document using XML namespaces [XMLNS] mechanism, while allowing validation of such a mixed-namespace document. An XHTML 1.1 + MathML 2.0 + SVG 1.1 DTD driver is provided. An XHTML version of this document is conforming to this DTD.

url: http://www.w3.org/TR/XHTMLplusMathMLplusSVG/

type: none, format: none

The Atilde Entity and Unicode

Apparently my RDF feed doesn't validate while my XHTML web pages do. Specifically i'm referring to the Paris Combo "Motifs" article and the Atilde entity, the capital A with a tilde over it. Why, and what should i do about it?

XHTML 1.1 includes XHTML Character Entities 1.0 (xhtml-text-1.mod, nb. no 11) which is originally part of Modularization of XHTML. XHTML Character Entities includes Latin 1 (xhtml-lat1.ent) for XHTML where the entity is defined.

RDF Site Summary (RSS) 1.0 is an application of W3C's Resource Description Framework (RDF), maintained by the RSS-DEV Working Group. It does not include this entity sett. On this page page, there's recommendation to insert a DOCTYPE to explicitly include it.

<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
<!ENTITY % HTMLlat1 PUBLIC
   "-//W3C//ENTITIES Latin 1 for XHTML//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
%HTMLlat1;
]>

<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns="http://purl.org/rss/1.0/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:ag="http://purl.org/rss/1.0/modules/aggregation/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" 
>
...
<rdf:RDF>

Why don't i like this? There's no need to, or at least there should be no need to. As an author, i write &Atilde; because i have to. Eventually document (text) editors will become intelligent enough to understand the Unicode character set and the UTF-8 encoding of it. (On a side note, i prefer the UTF-16 or UCS-2 encoding.) Our documents, as we store them in files or databases, will not have &Atilde; but instead have the encoding of it, just like every other character in the document. There's nothing special about these letters. So the problem really lies with text editors.

Besides, there are too many glyphs too ASCII escape like this.

Browers already understand UTF-8 and if they have the satisfactory fonts, they will correctly render all international characters. The only characters that need escaping are <, &, and in CDATA sections > also.

Now i just need to figure out how to write Unicode with my favorite text editor, Kate.

TrickleUp Development

Development on TrickleUp resumes with 2 new features. (1) Commenters may now register an acount. An account allows them to take polls. There was a bug here before when TrickleUp tried to create a user when there was one already. (2) The other feature it the ability for admins to delete articles and all children comments at the click of a button.

The next feature i will add is a comment preview. Some people violate rules (too many characters). When they go back to fix, their incompetent browser doesn't have their form prefilled with their post data. (This is one place where Konqueror is better than Firefox.)

But there are other reasons for this improvement. Commenters should be able to see their post to correct typos or formatting.

Oh yeah that's another feature to add: automatic formatting of TXT into XHTML, with something like Textile and Live Comment Previews.