Thorsten Scherler wrote:
>El mar, 25-01-2005 a las 12:59, Bowe, Bastian escribió:
>
>
>>use & instead of &
>>
>>
>>
>
>...or <![CDATA[&]]>
>HTH
>
>
Perfect.
Thanks to both of you.
>
>
>>>-----Original Message-----
>>>From: Phil Sullivan [mailto:pas510@rcn.com]
>>>Sent: Tuesday, January 25, 2005 12:41 PM
>>>To: user@forrest.apache.org
>>>Subject: xml validation failure when an & is present...
>>>
>>>
>>>Hello -
>>>
>>>First off, congratulations - Forrest has helped me get a professional
>>>looking site up and running for my wife with the only glitches being
>>>operator induced (that would be me)....so far i've figured them out
>>>using he doc's and examples - but this one has me stumped.
>>>
>>>I am getting validation errors when I include strings like
>>>this in an
>>>xml docs:
>>>
>>>[F12]. [IRKBD:F12:P&R]
>>>
>>>
>>>I've tried using <code> </code> as well as <source> </source>
with no
>>>success. It appears the & is the problem since it builds fine
>>>without it
>>>and complains about whatever character follows it....
>>>
>>>My knowledge of XML is *very* limited, mostly gleaned from
>>>the Forrest
>>>doc's and examples - so my apologies advance if I'm missing
>>>the obvious
>>>here, or if I'm asking in the wrong list.
>>>
>>>I've appended the error and a snippet from the document.
>>>
>>>Thanks!
>>>
>>>Phil
>>>
>>>Heres the validation error:
>>>===========================
>>>
>>>Buildfile: C:\Forrest\06\src\core\forrest.build.xml
>>>.
>>>.
>>>.
>>>validate-xdocs:
>>>/C:/Documents%20and%20Settings/pas/test/src/documentation/cont
>>>ent/xdocs/aachandout.xml:437:57:
>>>The reference to entity "R" must end with the ';' delimiter.
>>>
>>>BUILD FAILED
>>>C:\Forrest\06\src\core\targets\validate.xml:143: Could not validate
>>>document C:\Documents and
>>>Settings\pas\test\src\documentation\content\xdocs\aachandout.xml
>>>
>>>Total time: 2 seconds
>>>
>>>===========================
>>>and a snippet(s) of the xml doc (without my <code> and
>>><source> experiments)
>>>
>>><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
>>>"http://forrest.apache.org/dtd/document-v20.dtd">
>>>.
>>>.
>>>
>>><p>To program a function key, select IR special keys. A
>>>listing of all
>>>the special keys will be displayed along with command type options of
>>>press and release, hold and release.
>>>Use the scroll button to select [F12]. [IRKBD:F12:P&R] appears in the
>>>verbal cue speech bar.
>>>.
>>>.
>>></p>
>>>
>>>
>>>
|