>

Home Design Archive Entity 'nbsp' not defined

Entity 'nbsp' not defined

  • 2006年8月 8日
  • コメント(0)
  • トラックバック(0)

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.

コメントを書く

トラックバック(0)(クリック▼)

トラックバックURL

カテゴリ

emailアドレスを入力:

FeedBurnerからDesignの更新情報がメールで届きます。

ページの先頭に戻る