You are here: Re: Can't parse  -- Is this a bug in the SAX xml parser? Or am I doing something wrong? « PHP Programming Language « IT news, forums, messages
Re: Can't parse  -- Is this a bug in the SAX xml parser? Or am I doing something wrong?

Posted by Joshua Beall on 11/11/07 12:46

On Nov 11, 2:27 am, John Dunlop <j...@dunlop.name> wrote:
> Joshua Beall:
>
> > $xml = "<DATA>&#11;</DATA>";
>
> The character referred to by that character reference does not match
> the production Char.
>
> http://www.w3.org/TR/REC-xml/#charsets
>
> --
> Jock

I'm not sure I completely follow; doesn't the fact that character 0x0B
(decimal 11) is outside the range of acceptable characters simply mean
that you have to encode it as &#11;? If not, then how should I encode
the vertical tab character (character code 0x0B) to put it in an XML
document?

-Josh

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация