101LABWebDesignアーカイブ > > Entity 'nbsp' not defined

« スタイルライブラリコンテンツを作成する | メイン | アップロード先のディレクトリを指定 »

Entity 'nbsp' not defined

In response to appletalk at gmail dot com

As many of you may have noticed, DOM parser gives errors if the ' ' entity is present. The E_WARN message looks like:
Warning: DOMDocument::load() [function.load]: Entity 'nbsp' not defined in ...
There're many ways to solve this:
.....
b) Defining  
At the top of the document, after the definition, add:
�� ��
�� ]>
.......

Just wanted to let people know that option b does NOT work. I'm not sure why this isn't implemented correctly, but it isn't, so don't waste your time. It's unfortunate the DOMXSL transform is so much less capable than the old xslt function.

このエントリーをはてなブックマークに追加はてなブックマークに追加 このエントリーをdel.icio.usにに追加 [my del.icio.us]へ追加

コメントを投稿

トラックバック

トラックバック URL

About

2006年8月 8日 14:30に投稿されたエントリのページです。

ひとつ前の投稿は「スタイルライブラリコンテンツを作成する」です。

次の投稿は「アップロード先のディレクトリを指定」です。

他にも多くのエントリがあります。メインページアーカイブページも見てください。