Chris Hubick wrote:
>
> Your vCard data is invalid :)
>
Hi Chris,
Thanks for raising it here, it's important. Just to make it clear for those
on the list who thought they could skip past this:
> The vCard example in the LOM spec is broken in a number of ways.
**The use of \n to mark the end of vCard properties as shown in the example
vCard given in the LOM final draft is incorrect. The correct sequence is
CRLF (ascii 10, ascii 13).
*To allow a vCard property to continue over more than one line, (where the
lines are terminated by CRLF) you start the run-on line with a space.
There is a problem that the sequence CRLF may not be preserved by XML
parsers and the like, so using entity codes or wrapping the whole LOM
element contents as CDATA seems a good idea.
See Chris's original post for the gory details.
Phil.
--
Phil Barker Learning Technology Adviser
ICBL, School of Mathematical and Computer Sciences
Mountbatten Building, Heriot-Watt University,
Edinburgh, EH14 4AS
Tel: 0131 451 3278 Fax: 0131 451 3327
Web: http://www.icbl.hw.ac.uk/~philb/
|