|
Posted by Michael Fesser on 11/12/05 06:38
..oO(JDS)
>The problem stems from the "HTML" that Word generated. MS Word uses XML
>gobbeldy gook unnecewssarily to, well, I don't know what it is supposed to
>do. In any case, the "<?" opening of the XML stuff broke the PHP page.
Caused by 'short_open_tag', which is enabled by default.
>Sure, I could design in some better error-checking and parsing of the
>submitted data.
Required.
>Sure, I could do something that allows the data to go in
>untouched.
Maybe.
>But the point is that MS Word does not generate valid, usable
>HTML.
Yep, but in this case it's more or less the server's fault. Short open
tags don't go well along with XML (it's even mentioned in the manual).
Micha
[Back to original message]
|