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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

bummerhan
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


Reply | Threaded
Open this post in threaded view
|

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

Vikas Mayur-2
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
>
>
>


--
Vikas Mayur
Reply | Threaded
Open this post in threaded view
|

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

bummerhan
In reply to this post by bummerhan
this appeared in the regular ofbiz build which I downloaded yesterday
if its not in the latest version, then its okay

the attached lines was there and made noise when i booted ofbiz.jar


no frets now, thks...

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


----- Original Message ----
From: Vikas Mayur <[hidden email]>
To: [hidden email]
Sent: Tuesday, December 4, 2007 4:51:03 PM
Subject: Re: error reading ofbiz-containers.xml nested '--'


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
>
>
>


--
Vikas Mayur



Reply | Threaded
Open this post in threaded view
|

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

jonwimp
In reply to this post by Vikas Mayur-2
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

Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
In reply to this post by bummerhan
I checked, nor trunk nor release4.0 as such nested comment

Jacques

De : "bummerhan" <[hidden email]>

> 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
>
>
Reply | Threaded
Open this post in threaded view
|

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

bummerhan
In reply to this post by bummerhan
i did not draw from svn,
this from the bundled zip on sourceforge (http://sourceforge.net/project/showfiles.php?group_id=145855)

this has to go down as a strange one for me

anyway:- an XML learning point for all of us
(thanks jonathon)

----- Original Message ----
From: Jacques Le Roux <[hidden email]>
To: [hidden email]
Sent: Tuesday, December 4, 2007 5:16:32 PM
Subject: Re: error reading ofbiz-containers.xml nested '--'


I checked, nor trunk nor release4.0 as such nested comment

Jacques

De : "bummerhan" <[hidden email]>
> 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
>
>



Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
This is OpenTaps not OFBiz. Please use rather their forum.

Jacques

De : "bummerhan" <[hidden email]>

> i did not draw from svn,
> this from the bundled zip on sourceforge (http://sourceforge.net/project/showfiles.php?group_id=145855)
>
> this has to go down as a strange one for me
>
> anyway:- an XML learning point for all of us
> (thanks jonathon)
>
> ----- Original Message ----
> From: Jacques Le Roux <[hidden email]>
> To: [hidden email]
> Sent: Tuesday, December 4, 2007 5:16:32 PM
> Subject: Re: error reading ofbiz-containers.xml nested '--'
>
>
> I checked, nor trunk nor release4.0 as such nested comment
>
> Jacques
>
> De : "bummerhan" <[hidden email]>
> > 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
> >
> >
>
>
>