entityengine.xml Validation Error

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

entityengine.xml Validation Error

Brendan Vogt
Hi,

 

I need to know if this is a bug that I/we need to worry about?

 

On line 48 the code looks like this:

 

<delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">

 

The error that I get with XML Buddy in Eclipse is something like:

 

Error - cvc-complex type.2.4.a: Invalid content was found starting with
element 'delegator'.  One of '{""connection-factory}' is expected.

 

What is this error, I have never seen it.

 

Brendan

Reply | Threaded
Open this post in threaded view
|

Re: entityengine.xml Validation Error

BJ Freeman
my first response is, if the program is running and your not getting
errors in the UI or in the logs, then don't worry about it.

however if your curious why XML Buddy is giving you this error, then I
suggest you go to their forum and ask.
I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0

Brendan Vogt sent the following on 12/30/2007 5:55 AM:

> Hi,
>
>  
>
> I need to know if this is a bug that I/we need to worry about?
>
>  
>
> On line 48 the code looks like this:
>
>  
>
> <delegator name="default" entity-model-reader="main"
> entity-group-reader="main" entity-eca-reader="main"
> distributed-cache-clear-enabled="false">
>
>  
>
> The error that I get with XML Buddy in Eclipse is something like:
>
>  
>
> Error - cvc-complex type.2.4.a: Invalid content was found starting with
> element 'delegator'.  One of '{""connection-factory}' is expected.
>
>  
>
> What is this error, I have never seen it.
>
>  
>
> Brendan
>
>

Reply | Threaded
Open this post in threaded view
|

Re: entityengine.xml Validation Error

Scott Gray
It's saying that the xml isn't structured the way the entity-config.xsd says
it should be.  You should have a connection-factory tag before any delegator
tags, both 4.0 and trunk are correct.  If you're using Subclipse for svn
then you should be able to right-click on entityengine.xml -> Compare with
-> Base revision, and see what you've changed.

Regards
Scott

On 31/12/2007, BJ Freeman <[hidden email]> wrote:

>
> my first response is, if the program is running and your not getting
> errors in the UI or in the logs, then don't worry about it.
>
> however if your curious why XML Buddy is giving you this error, then I
> suggest you go to their forum and ask.
> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>
> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
> > Hi,
> >
> >
> >
> > I need to know if this is a bug that I/we need to worry about?
> >
> >
> >
> > On line 48 the code looks like this:
> >
> >
> >
> > <delegator name="default" entity-model-reader="main"
> > entity-group-reader="main" entity-eca-reader="main"
> > distributed-cache-clear-enabled="false">
> >
> >
> >
> > The error that I get with XML Buddy in Eclipse is something like:
> >
> >
> >
> > Error - cvc-complex type.2.4.a: Invalid content was found starting with
> > element 'delegator'.  One of '{""connection-factory}' is expected.
> >
> >
> >
> > What is this error, I have never seen it.
> >
> >
> >
> > Brendan
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: entityengine.xml Validation Error

BJ Freeman
actually I recognizes the error now.
https://issues.apache.org/jira/browse/OFBIZ-1493


Scott Gray sent the following on 12/30/2007 12:45 PM:

> It's saying that the xml isn't structured the way the entity-config.xsd says
> it should be.  You should have a connection-factory tag before any delegator
> tags, both 4.0 and trunk are correct.  If you're using Subclipse for svn
> then you should be able to right-click on entityengine.xml -> Compare with
> -> Base revision, and see what you've changed.
>
> Regards
> Scott
>
> On 31/12/2007, BJ Freeman <[hidden email]> wrote:
>> my first response is, if the program is running and your not getting
>> errors in the UI or in the logs, then don't worry about it.
>>
>> however if your curious why XML Buddy is giving you this error, then I
>> suggest you go to their forum and ask.
>> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>>
>> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
>>> Hi,
>>>
>>>
>>>
>>> I need to know if this is a bug that I/we need to worry about?
>>>
>>>
>>>
>>> On line 48 the code looks like this:
>>>
>>>
>>>
>>> <delegator name="default" entity-model-reader="main"
>>> entity-group-reader="main" entity-eca-reader="main"
>>> distributed-cache-clear-enabled="false">
>>>
>>>
>>>
>>> The error that I get with XML Buddy in Eclipse is something like:
>>>
>>>
>>>
>>> Error - cvc-complex type.2.4.a: Invalid content was found starting with
>>> element 'delegator'.  One of '{""connection-factory}' is expected.
>>>
>>>
>>>
>>> What is this error, I have never seen it.
>>>
>>>
>>>
>>> Brendan
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: entityengine.xml Validation Error

BJ Freeman
In reply to this post by BJ Freeman
the reason i did not get the error, and I should have is
I added this to the ver 4.0
 <connection-factory
class="org.ofbiz.entity.connection.ConnectionFactory"/>

BJ Freeman sent the following on 12/30/2007 10:36 AM:

> my first response is, if the program is running and your not getting
> errors in the UI or in the logs, then don't worry about it.
>
> however if your curious why XML Buddy is giving you this error, then I
> suggest you go to their forum and ask.
> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>
> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
>> Hi,
>>
>>  
>>
>> I need to know if this is a bug that I/we need to worry about?
>>
>>  
>>
>> On line 48 the code looks like this:
>>
>>  
>>
>> <delegator name="default" entity-model-reader="main"
>> entity-group-reader="main" entity-eca-reader="main"
>> distributed-cache-clear-enabled="false">
>>
>>  
>>
>> The error that I get with XML Buddy in Eclipse is something like:
>>
>>  
>>
>> Error - cvc-complex type.2.4.a: Invalid content was found starting with
>> element 'delegator'.  One of '{""connection-factory}' is expected.
>>
>>  
>>
>> What is this error, I have never seen it.
>>
>>  
>>
>> Brendan
>>
>>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: entityengine.xml Validation Error

Scott Gray
In reply to this post by BJ Freeman
Ah yes right you are, I saw the transaction-factory tag in the 4.0 file and
assumed it was the one I was looking for.

Regards
Scott

On 31/12/2007, BJ Freeman <[hidden email]> wrote:

>
> actually I recognizes the error now.
> https://issues.apache.org/jira/browse/OFBIZ-1493
>
>
> Scott Gray sent the following on 12/30/2007 12:45 PM:
> > It's saying that the xml isn't structured the way the entity-config.xsdsays
> > it should be.  You should have a connection-factory tag before any
> delegator
> > tags, both 4.0 and trunk are correct.  If you're using Subclipse for svn
> > then you should be able to right-click on entityengine.xml -> Compare
> with
> > -> Base revision, and see what you've changed.
> >
> > Regards
> > Scott
> >
> > On 31/12/2007, BJ Freeman <[hidden email]> wrote:
> >> my first response is, if the program is running and your not getting
> >> errors in the UI or in the logs, then don't worry about it.
> >>
> >> however if your curious why XML Buddy is giving you this error, then I
> >> suggest you go to their forum and ask.
> >> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
> >>
> >> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
> >>> Hi,
> >>>
> >>>
> >>>
> >>> I need to know if this is a bug that I/we need to worry about?
> >>>
> >>>
> >>>
> >>> On line 48 the code looks like this:
> >>>
> >>>
> >>>
> >>> <delegator name="default" entity-model-reader="main"
> >>> entity-group-reader="main" entity-eca-reader="main"
> >>> distributed-cache-clear-enabled="false">
> >>>
> >>>
> >>>
> >>> The error that I get with XML Buddy in Eclipse is something like:
> >>>
> >>>
> >>>
> >>> Error - cvc-complex type.2.4.a: Invalid content was found starting
> with
> >>> element 'delegator'.  One of '{""connection-factory}' is expected.
> >>>
> >>>
> >>>
> >>> What is this error, I have never seen it.
> >>>
> >>>
> >>>
> >>> Brendan
> >>>
> >>>
> >>
> >
>
>
Reply | Threaded
Open this post in threaded view
|

RE: entityengine.xml Validation Error

Brendan Vogt
In reply to this post by Scott Gray
I didn't change anything.

-----Original Message-----
From: Scott Gray [mailto:[hidden email]]
Sent: Sunday, December 30, 2007 10:46 PM
To: [hidden email]
Subject: Re: entityengine.xml Validation Error

It's saying that the xml isn't structured the way the entity-config.xsd says
it should be.  You should have a connection-factory tag before any delegator
tags, both 4.0 and trunk are correct.  If you're using Subclipse for svn
then you should be able to right-click on entityengine.xml -> Compare with
-> Base revision, and see what you've changed.

Regards
Scott

On 31/12/2007, BJ Freeman <[hidden email]> wrote:

>
> my first response is, if the program is running and your not getting
> errors in the UI or in the logs, then don't worry about it.
>
> however if your curious why XML Buddy is giving you this error, then I
> suggest you go to their forum and ask.
> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>
> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
> > Hi,
> >
> >
> >
> > I need to know if this is a bug that I/we need to worry about?
> >
> >
> >
> > On line 48 the code looks like this:
> >
> >
> >
> > <delegator name="default" entity-model-reader="main"
> > entity-group-reader="main" entity-eca-reader="main"
> > distributed-cache-clear-enabled="false">
> >
> >
> >
> > The error that I get with XML Buddy in Eclipse is something like:
> >
> >
> >
> > Error - cvc-complex type.2.4.a: Invalid content was found starting with
> > element 'delegator'.  One of '{""connection-factory}' is expected.
> >
> >
> >
> > What is this error, I have never seen it.
> >
> >
> >
> > Brendan
> >
> >
>
>

Reply | Threaded
Open this post in threaded view
|

RE: entityengine.xml Validation Error

Brendan Vogt
In reply to this post by BJ Freeman
Where exactly did you add this?


-----Original Message-----
From: BJ Freeman [mailto:[hidden email]]
Sent: Sunday, December 30, 2007 11:44 PM
To: [hidden email]
Subject: Re: entityengine.xml Validation Error

the reason i did not get the error, and I should have is
I added this to the ver 4.0
 <connection-factory
class="org.ofbiz.entity.connection.ConnectionFactory"/>

BJ Freeman sent the following on 12/30/2007 10:36 AM:

> my first response is, if the program is running and your not getting
> errors in the UI or in the logs, then don't worry about it.
>
> however if your curious why XML Buddy is giving you this error, then I
> suggest you go to their forum and ask.
> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>
> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
>> Hi,
>>
>>  
>>
>> I need to know if this is a bug that I/we need to worry about?
>>
>>  
>>
>> On line 48 the code looks like this:
>>
>>  
>>
>> <delegator name="default" entity-model-reader="main"
>> entity-group-reader="main" entity-eca-reader="main"
>> distributed-cache-clear-enabled="false">
>>
>>  
>>
>> The error that I get with XML Buddy in Eclipse is something like:
>>
>>  
>>
>> Error - cvc-complex type.2.4.a: Invalid content was found starting with
>> element 'delegator'.  One of '{""connection-factory}' is expected.
>>
>>  
>>
>> What is this error, I have never seen it.
>>
>>  
>>
>> Brendan
>>
>>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: entityengine.xml Validation Error

BJ Freeman
What has happened is the http://ofbiz.apache.org/dtds/entity-config.xsd
which xml buddy looks at is a new version for the Trunk.
the connection-factory is not used in ver 4.0 so it does not matter if
it is in the entity-engine.xml or not.
howerer if you wish to put in in
    <connection-factory
class="org.ofbiz.entity.connection.ConnectionFactory"/>

        <delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>
    </delegator>


Brendan Vogt sent the following on 1/1/2008 8:45 AM:

> Where exactly did you add this?
>
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
> Sent: Sunday, December 30, 2007 11:44 PM
> To: [hidden email]
> Subject: Re: entityengine.xml Validation Error
>
> the reason i did not get the error, and I should have is
> I added this to the ver 4.0
>  <connection-factory
> class="org.ofbiz.entity.connection.ConnectionFactory"/>
>
> BJ Freeman sent the following on 12/30/2007 10:36 AM:
>> my first response is, if the program is running and your not getting
>> errors in the UI or in the logs, then don't worry about it.
>>
>> however if your curious why XML Buddy is giving you this error, then I
>> suggest you go to their forum and ask.
>> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>>
>> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
>>> Hi,
>>>
>>>  
>>>
>>> I need to know if this is a bug that I/we need to worry about?
>>>
>>>  
>>>
>>> On line 48 the code looks like this:
>>>
>>>  
>>>
>>> <delegator name="default" entity-model-reader="main"
>>> entity-group-reader="main" entity-eca-reader="main"
>>> distributed-cache-clear-enabled="false">
>>>
>>>  
>>>
>>> The error that I get with XML Buddy in Eclipse is something like:
>>>
>>>  
>>>
>>> Error - cvc-complex type.2.4.a: Invalid content was found starting with
>>> element 'delegator'.  One of '{""connection-factory}' is expected.
>>>
>>>  
>>>
>>> What is this error, I have never seen it.
>>>
>>>  
>>>
>>> Brendan
>>>
>>>
>>
>>
>>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: entityengine.xml Validation Error

Brendan Vogt
Thanks BJ I will leave it out and not worry about it.


-----Original Message-----
From: BJ Freeman [mailto:[hidden email]]
Sent: Tuesday, January 01, 2008 8:17 PM
To: [hidden email]
Subject: Re: entityengine.xml Validation Error

What has happened is the http://ofbiz.apache.org/dtds/entity-config.xsd
which xml buddy looks at is a new version for the Trunk.
the connection-factory is not used in ver 4.0 so it does not matter if
it is in the entity-engine.xml or not.
howerer if you wish to put in in
    <connection-factory
class="org.ofbiz.entity.connection.ConnectionFactory"/>

        <delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>
    </delegator>


Brendan Vogt sent the following on 1/1/2008 8:45 AM:

> Where exactly did you add this?
>
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
> Sent: Sunday, December 30, 2007 11:44 PM
> To: [hidden email]
> Subject: Re: entityengine.xml Validation Error
>
> the reason i did not get the error, and I should have is
> I added this to the ver 4.0
>  <connection-factory
> class="org.ofbiz.entity.connection.ConnectionFactory"/>
>
> BJ Freeman sent the following on 12/30/2007 10:36 AM:
>> my first response is, if the program is running and your not getting
>> errors in the UI or in the logs, then don't worry about it.
>>
>> however if your curious why XML Buddy is giving you this error, then I
>> suggest you go to their forum and ask.
>> I am using xml buddy 2.0.72 and don't get an error in ofbiz ver 4.0
>>
>> Brendan Vogt sent the following on 12/30/2007 5:55 AM:
>>> Hi,
>>>
>>>  
>>>
>>> I need to know if this is a bug that I/we need to worry about?
>>>
>>>  
>>>
>>> On line 48 the code looks like this:
>>>
>>>  
>>>
>>> <delegator name="default" entity-model-reader="main"
>>> entity-group-reader="main" entity-eca-reader="main"
>>> distributed-cache-clear-enabled="false">
>>>
>>>  
>>>
>>> The error that I get with XML Buddy in Eclipse is something like:
>>>
>>>  
>>>
>>> Error - cvc-complex type.2.4.a: Invalid content was found starting with
>>> element 'delegator'.  One of '{""connection-factory}' is expected.
>>>
>>>  
>>>
>>> What is this error, I have never seen it.
>>>
>>>  
>>>
>>> Brendan
>>>
>>>
>>
>>
>>
>
>
>
>