That's right. We cannot nest comments.

The 1st "<!--" will start the comment. The 2nd "<!--" does nothing.

The 1st "-->" closes the comment. The 2nd one is an error.

Jonathon

Vikas Mayur wrote:
I do not see any nested comment in ofbiz-containers.xml in the latest
version.
Can you please mention which version are you talking about.

If I am correct, We can not nest comments in xml.




On Dec 4, 2007 1:43 PM, bummerhan <[EMAIL PROTECTED]> wrote:

I checked out a recent ofbiz build. which had the below
ofbiz-containers.xml
it may be peculiar to my javax xml parsers, but I had to remove the nested
comment before it could run

...
   <!-- load BeanShell remote telnet server
   <container name="beanshell-container" class="
org.ofbiz.base.container.BeanShellContainer">
       <!-- the port below and port-1 will be opened by beanshell -->
       <property name="telnet-port" value="9990"/>
       <property name="app-name" value="OFBiz"/>
   </container>-->
 ...


Han Boon Kiat, Bummer
BummerWare Pte Ltd
20 Maxwell Road #09-17 Maxwell House Singapore 069113






------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.13/1169 - Release Date: 12/3/2007 10:56 PM

Reply via email to