Re: [PHP] DOMDocument -> loadHTML() cuts off html input

2007-08-08 Thread Stijn Verholen
Hey Richard, It's a list of organisation names. A lot of them have nifty characters such as é ç ' etc. When I escape these character to their corresponding html entities, their encoded value seem to get lost when loaded into a DOMDocument, i.e. they just turn up as non-html entities. I'm pret

Re: [PHP] DOMDocument -> loadHTML() cuts off html input

2007-08-07 Thread Richard Lynch
Are there any funky characters or unusual attributes/values in the 31st option -- the one right after the last one that "works"? I'm reasonably certain there is no limitation anywhere near "30" in any RFC for the number of options in a SELECT list. Though 330 is a lot for a normal user who has NO

Re: [PHP] DOMDocument -> loadHTML() cuts off html input

2007-08-01 Thread Borokov Smith
0> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] DOMDocument -> loadHTML() cuts off html input> > Hey List,> > In my application, I am loading html content into a DOMDocument using > loadHTML(). The DOMDocument is validated, then the element with a &g

RE: [PHP] DOMDocument -> loadHTML() cuts off html input

2007-08-01 Thread Bastien Koert
Is there a quote in the data? That is the usual culprit in my situations like that... bastien > Date: Wed, 1 Aug 2007 10:54:59 +0200> From: [EMAIL PROTECTED]> To: > php-general@lists.php.net> Subject: [PHP] DOMDocument -> loadHTML() cuts off > html input> > Hey Li

[PHP] DOMDocument -> loadHTML() cuts off html input

2007-08-01 Thread Stijn Verholen
Hey List, In my application, I am loading html content into a DOMDocument using loadHTML(). The DOMDocument is validated, then the element with a certain ID tag is extracted and loaded into a node in the main DOMDocument, which is then presented as html with saveHTML(). This works fine and h