Login  Register

Re: error reading ofbiz-containers.xml nested '--'

Posted by jonwimp on Dec 04, 2007; 9:12am
URL: http://ofbiz.116.s1.nabble.com/error-reading-ofbiz-containers-xml-nested-tp150581p150586.html

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 <[hidden email]> 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