- markup (76)
- xml (11)
- xslt (23)
- pipelines (8)
- atom (9)
- overlapping markup (6)
- schema (11)
- creole (5)
- dtll (1)
- xforms (1)
- xpath (1)
- xquery (2)
- coding (2)
- datagovuk (1)
- genealogy (4)
- hardware (1)
- linked data (16)
- modelling (1)
- named graphs (1)
- opendata (1)
- provenance (1)
- psi (3)
- skos (1)
- sparql (4)
- Talis (7)
- unicode (1)
- uri (4)
- versioning (1)
- visualisation (6)
- web (78)
- google (4)
- html5 (5)
- jQuery (2)
- rdf (46)
- ontologies (2)
- rdfa (8)
- rdfQuery (5)
- rest (6)
- wikis (1)
- work (3)
- legislation (2)
- xmlsummerschool09 (2)
- life (28)
- children (5)
- equality (6)
- gtd (1)
- environment (4)
- gadgets (5)
- software (3)
- xlinq (2)
- conferences (11)
- ukgc09 (1)
- xtech (9)
- xtech2008 (3)
- blog (8)
- drupal (3)
Re: Things that make me scream: xml:space="preserve" in WordML
From the few samples that I have lying around it seems that word2007 still puts everything on one line (in the zipped file) but does now move the xml:space attributes just on to the text run elements, not on the document element. It’s not that surprising that MS generated XML puts xml:space everywhere even in places where a reading of the XML spec would suggest that it isn’t needed, as their XML parsers have a well known “feature” that they strip white space by default, whatever the XML spec says about preserving it.
Perhaps It’ll make you scream but I tend to stick xml:space=”preserve” on the top level html element of xhtml files, to give IE a slight hint that inter word spaces perhaps ought to be rendered as spaces rather than being helpfully optimised away…
David