[FX.php List] Bad apostrophe character confounds FMP

Troy Meyers tcmeyers at troymeyers.com
Tue Dec 11 08:21:37 MST 2007


Patricia,

The "entity" that the validator doesn't like isn't really an entity, it's a misinterpretation because your value list isn't encoded right.

An HTML entity typically looks like   (a non-breaking space) or × (the mathematical "times" or multiply symbol), etc. etc.

Within your value, you have this:
COM129-ANATOMY&MICROSCOPY

The & symbol in it is being interpreted as the start of an entity... which would be &MICROSCOPY if there was such a thing, which there isn't.

To avoid this, the ampersand must be replaced by the HTML entity _for_the_character_ambersand_ which is &

So the value should contain:
COM129-ANATOMY&MICROSCOPY

That will get rid of the entity error. If you are pulling the value list from somewhere on the fly, then you'll need to do that encoding to the list.

-Troy


> I went to that validator site for one of my forms and had several of the
> following type errors.  The list it is referencing is pulled directly
> from a FMP value list.  Many of them came up with red x's which I'm
> assuming is a critical error.  Short of changing the entire database
> (this list pulls from an Oracle database), is there a way to fix this?
> 
> Line 1064, Column 49: reference to entity "MICROSCOPY" for which no
> system identifier could be generated.
> 
> <option>COM129-ANATOMY&MICROSCOPY LABS (D09) - 313 WEST STADIUM DRIVE



More information about the FX.php_List mailing list