[OFBiz] Users - Error in xml file.
David E. Jones
jonesde at ofbiz.org
Wed Dec 1 14:47:55 EST 2004
Jacopo,
Well, at least you're around and paying attention and helping to fix
the stuff... That's the important thing. Everyone makes mistakes...
The changes are in SVN and it is validating properly.
BTW, do you have an XML editor that can validate against Schemas? You
may want to look into that, it is pretty handy when working with these
files. I use Eclipse for my IDE, so a plugin for XML is necessary and
for that I use the Oxygen XML Editor (which is also available as a
stand-alone editor, and has a number of nice tools in it).
-David
On Dec 1, 2004, at 11:42 AM, Jacopo Cappellato wrote:
> Rupert,
>
> I don't know what to say... my previous patch was awful!!
>
> The attached patch SHOULD be the right one.
>
> However for a quick fix (you can do it without restarting OFBIZ), just
> replace line 574 of file
> "ofbiz/components/product/script/org/ofbiz/product/product/
> ProductServices.xml"
> with the following one:
>
> <string-to-field string="PRODUCT_VARIANT"
> field-name="productAssocTypeId" map-name="variantsFindContext"/>
>
> Let me know if you have problems and sorry again!
>
> Jacopo
>
>
>
> ----- Original Message ----- From: "Rupert Howell"
> <ruperthowell at a14bha.co.uk>
> To: "'OFBiz Users / Usage Discussion (High Traffic)'"
> <users at lists.ofbiz.org>
> Sent: Wednesday, December 01, 2004 7:12 PM
> Subject: RE: [OFBiz] Users - Error in xml file.
>
>
>> Hi everyone.
>>
>> I've just done an update and I'm getting the following error:
>>
>> 655398[ UtilXml.java:629:ERROR] XmlFileLoader: File
>> file:/E:/ofbiz/components/product/script/org/ofbiz/product/product/
>> Produ
>> ctServices.xml process error. Line: 574. Error message:
>> cvc-complex-type.3.2.2: Attribute 'to-field-name' is not allowed to
>> appear in element 'string-to-field'.
>>
>> 655398[ UtilXml.java:629:ERROR] XmlFileLoader: File
>> file:/E:/ofbiz/components/product/script/org/ofbiz/product/product/
>> Produ
>> ctServices.xml process error. Line: 574. Error message:
>> cvc-complex-type.3.2.2: Attribute 'to-map-name' is not allowed to
>> appear
>> in element 'string-to-field'.
>>
>> 655398[ UtilXml.java:629:ERROR] XmlFileLoader: File
>> file:/E:/ofbiz/components/product/script/org/ofbiz/product/product/
>> Produ
>> ctServices.xml process error. Line: 574. Error message:
>> cvc-complex-type.4: Attribute 'field-name' must appear on element
>> 'string-to-field'.
>>
>> When I try to look at an item.
>>
>> Then sometimes I get an error about "cannot find the declaration of
>> element 'ofbiz-ser'"
>>
>>
>> I'm also getting a load of socket connection errors at what appears to
>> be random times - I've always had these though - are they normal?
>>
>>
>> Kind Regards,
>> Rupert
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
> <xmlpatch.patch>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20041201/f1b1177d/smime-0001.bin
More information about the Users
mailing list