|
Posted by Joshua Beall on 11/11/07 18:54
John Dunlop wrote:
> > If not, then how should I encode the vertical tab character (character
> > code 0x0B) to put it in an XML document?
>
> XML1.1, although the spec discourages using that character.
So there's no way to do this in XML 1.0?
Let me give a more complete description of my circumstance, and if you
have any suggestions on what I should do, I'd be grateful.
I'm trying to parse an XML export of a FileMaker Pro 8 database. FMP
is putting raw vertical tabs in the output at various places.
Before passing the XML document to the PHP SAX parser, I'm checking
through the document for any characters with a character code below 32
and trying to encode them. I didn't realize this was the wrong way to
go about this.
Now I can't change the fact that for some reason FMP is sometimes
going to be spitting out these vertical tab characters; apparently it
internally uses vertical tabs for something.
So is there any way to parse this document? Or the only thing I can
do is strip out any illegal characters that can't be encoded before I
parse it?
-Josh
Navigation:
[Reply to this message]
|