You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by bummerhan <ha...@bummerware.com> on 2007/12/04 09:13:48 UTC

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

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



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

Posted by Jacques Le Roux <ja...@les7arts.com>.
I checked, nor trunk nor release4.0 as such nested comment

Jacques

De : "bummerhan" <ha...@bummerware.com>
> 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
> 
> 

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

Posted by Jonathon -- Improov <jo...@improov.com>.
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 <ha...@bummerware.com> 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


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

Posted by Vikas Mayur <vi...@gmail.com>.
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 <ha...@bummerware.com> 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
>
>
>


-- 
Vikas Mayur