I think you are right Jacques
De : "Jacopo Cappellato" <[EMAIL PROTECTED]> > Am I wrong or this is true for all the xml seed/demo data files in OFBiz? > There is no xsd grammar file for them and so the parser can't validate them. > > Jacopo > > Scott Gray wrote: > > That probably won't help, I'm pretty sure the xml being complained about is > > generated at runtime by the framework. > > > > Scott > > > > On 17/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> Scott > >> > >> Thank you sir. For the time being, I'll just comment out the service. > >> > >> -----Original Message----- > >> From: Scott Gray [mailto:[EMAIL PROTECTED] > >> Sent: Wednesday, October 17, 2007 12:05 AM > >> To: [email protected] > >> Subject: Re: CreateProduct authorization-updated > >> > >> > >> I can't remember the details but there is a jira issue for this, anyway it > >> is a trivial thing and can safely be ignored. > >> > >> Regards > >> Scott > >> > >> On 17/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>> Gavin > >>> > >>> Thanks a load. You were right, I missed one occurance of this that > >> wasn't > >>> commented out in : > >>> applications\manufacturing\data\ManufacturingScheduledServices.xml > >>> > >>> Here is the entry. Can anyone point me to some documentation so I can > >>> understand this, and in particular, what does the ofbiz-ser tag > >> do? Also, > >>> the CDATA looks like well formed XML to me, so I don't understand the > >>> parser > >>> error unless there is an XSD file somewhere that that this is applied > >>> against. : > >>> > >>> > >>> <JobSandbox jobId="8400" jobName="Init BOM Low Level Codes" > >>> runTime="2000-01-01 00:00:00.000" serviceName="initLowLevelCode" > >>> poolId="pool" runAsUser="system" recurrenceInfoId="300"/> > >>> <!-- > >>> The calculateAllProductsCosts service is used to run the standard > >>> cost > >>> calc routine for all the products. > >>> Runtime data is set to pass the currency uom to the service (USD): > >>> chenge this to run the routine in > >>> another currency. > >>> The results of this will be available in the > >> catalog->product->cost > >>> tab. > >>> NOTE: in order to function properly, this service needs that > >>> all the products' low level codes ( > >>> Product.billOfMaterialsLevel > >>> field) > >>> are inited correctly; this is done by the initLowLevelCode > >>> service. > >>> --> > >>> <RuntimeData runtimeDataId="8401"> > >>> <runtimeInfo><![CDATA[<?xml version="1.0" encoding="UTF-8"?> > >>> <ofbiz-ser> > >>> <map-HashMap> > >>> <map-Entry> > >>> <map-Key> > >>> <std-String value="currencyUomId"/> > >>> </map-Key> > >>> <map-Value> > >>> <std-String value="USD"/> > >>> </map-Value> > >>> </map-Entry> > >>> <map-Entry> > >>> <map-Key> > >>> <std-String value="costComponentTypePrefix"/> > >>> </map-Key> > >>> <map-Value> > >>> <std-String value="EST_STD"/> > >>> </map-Value> > >>> </map-Entry> > >>> </map-HashMap> > >>> </ofbiz-ser> > >>> ]]></runtimeInfo> > >>> </RuntimeData> > >>> > >>> <JobSandbox jobId="8401" jobName="Calculate product costs" > >>> runTime="2000-01-01 00:00:00.000" > >> serviceName="calculateAllProductsCosts" > >>> runtimeDataId="8401" poolId="pool" runAsUser="system" > >>> recurrenceInfoId="301"/> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> -----Original Message----- > >>> From: Gavin Bee [mailto:[EMAIL PROTECTED] > >>> Sent: Tuesday, October 16, 2007 9:53 PM > >>> To: [email protected] > >>> Subject: RE: CreateProduct authorization-updated > >>> > >>> > >>> Skip, > >>> > >>> Basically, an xml file somewhere has an <ofbiz-ser> element and that > >>> element > >>> is not defined in the file's schema. Perhaps those commented out > >> sections > >>> are not commented properly or fully? > >>> > >>> See http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cvc-elt reason > >> 1. > >>> The "Cannot find declaration" string looks like it is coming from the > >> XML > >>> parser and not ofbiz code. > >>> > >>> That probably doesn't help you track it down as it sounds like you have > >>> already searched in all files. Thought it might be useful to provide > >> some > >>> more specifics ... > >>> > >>> Gavin :( > >>> > >>> -----Original Message----- > >>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >>> Sent: October 17, 2007 12:39 AM > >>> To: [email protected] > >>> Subject: RE: CreateProduct authorization-updated > >>> > >>> I am getting this error message: > >>> > >>> [Fatal Error] :-1:-1: Premature end of file. > >>> [Error] :2:12: cvc-elt.1: Cannot find the declaration of element > >>> 'ofbiz-ser'. > >>> > >>> I have scanned my entire source base and can find only two commented out > >>> services "ofbiz-ser" and no where is "Cannot find the declaration" used. > >>> > >>> Anyone have any idea what this error message is? > >>> > >>> Skip > >>> > >>> > >>> > >> > > >
