Hello all,
I am new to ofbiz and for the moment still a bit disoriented... When I import ofbiz in eclipse and do a project validation, eclipse find a lot xml and xsl problems... With a brand new version of Eclipse Indigo SR2, ofbiz 10.04.02 or the last version from github... I am really not an expert of xml... Can someone give me a bit of direction... Should I care about these validation problems or maibe switch this validation off??? Thank in advance, Michel |
That behavior is expected because the XML schemas change over time. So,
your version 10 XML is referencing a newer schema - which results in validation errors. In the past, OFBiz did not provide versioned schemas, but that is beginning to change. -Adrian On 4/25/2012 4:50 PM, Michel Schroeder wrote: > Hello all, > > I am new to ofbiz and for the moment still a bit disoriented... > > When I import ofbiz in eclipse and do a project validation, eclipse find a > lot xml and xsl problems... > > With a brand new version of Eclipse Indigo SR2, ofbiz 10.04.02 or the last > version from github... > > I am really not an expert of xml... > > Can someone give me a bit of direction... Should I care about these > validation problems or maibe switch this validation off??? > > Thank in advance, > > Michel > |
Administrator
|
One way to handle that is to use your local XSDs which are in sync with your code, see
https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips-UsinglocalXSD'swhennointernetconnectionisavailable I will BTW explain more the use, the title is correct but not complete BTW, Adrian, this is better in my opinion than having to handle schemas versions... Jacques From: "Adrian Crum" <[hidden email]> > That behavior is expected because the XML schemas change over time. So, > your version 10 XML is referencing a newer schema - which results in > validation errors. > > In the past, OFBiz did not provide versioned schemas, but that is > beginning to change. > > -Adrian > > On 4/25/2012 4:50 PM, Michel Schroeder wrote: >> Hello all, >> >> I am new to ofbiz and for the moment still a bit disoriented... >> >> When I import ofbiz in eclipse and do a project validation, eclipse find a >> lot xml and xsl problems... >> >> With a brand new version of Eclipse Indigo SR2, ofbiz 10.04.02 or the last >> version from github... >> >> I am really not an expert of xml... >> >> Can someone give me a bit of direction... Should I care about these >> validation problems or maibe switch this validation off??? >> >> Thank in advance, >> >> Michel >> |
I agree your suggestion works when using Eclipse, but there is still a
validation problem outside Eclipse. -Adrian On 4/26/2012 8:14 AM, Jacques Le Roux wrote: > One way to handle that is to use your local XSDs which are in sync > with your code, see > https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips-UsinglocalXSD'swhennointernetconnectionisavailable > > > I will BTW explain more the use, the title is correct but not complete > > BTW, Adrian, this is better in my opinion than having to handle > schemas versions... > > Jacques > > From: "Adrian Crum" <[hidden email]> >> That behavior is expected because the XML schemas change over time. >> So, your version 10 XML is referencing a newer schema - which results >> in validation errors. >> >> In the past, OFBiz did not provide versioned schemas, but that is >> beginning to change. >> >> -Adrian >> >> On 4/25/2012 4:50 PM, Michel Schroeder wrote: >>> Hello all, >>> >>> I am new to ofbiz and for the moment still a bit disoriented... >>> >>> When I import ofbiz in eclipse and do a project validation, eclipse >>> find a >>> lot xml and xsl problems... >>> >>> With a brand new version of Eclipse Indigo SR2, ofbiz 10.04.02 or >>> the last >>> version from github... >>> >>> I am really not an expert of xml... >>> >>> Can someone give me a bit of direction... Should I care about these >>> validation problems or maibe switch this validation off??? >>> >>> Thank in advance, >>> >>> Michel >>> |
Administrator
|
The catalog concept it not exclusive to Eclipse, not sure how this can be used though
http://en.wikipedia.org/wiki/XML_Catalog http://www.oasis-open.org/committees/download.php/14810/xml-catalogs.pdf Jacques From: "Adrian Crum" <[hidden email]> >I agree your suggestion works when using Eclipse, but there is still a > validation problem outside Eclipse. > > -Adrian > > On 4/26/2012 8:14 AM, Jacques Le Roux wrote: >> One way to handle that is to use your local XSDs which are in sync >> with your code, see >> https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips-UsinglocalXSD'swhennointernetconnectionisavailable >> >> >> I will BTW explain more the use, the title is correct but not complete >> >> BTW, Adrian, this is better in my opinion than having to handle >> schemas versions... >> >> Jacques >> >> From: "Adrian Crum" <[hidden email]> >>> That behavior is expected because the XML schemas change over time. >>> So, your version 10 XML is referencing a newer schema - which results >>> in validation errors. >>> >>> In the past, OFBiz did not provide versioned schemas, but that is >>> beginning to change. >>> >>> -Adrian >>> >>> On 4/25/2012 4:50 PM, Michel Schroeder wrote: >>>> Hello all, >>>> >>>> I am new to ofbiz and for the moment still a bit disoriented... >>>> >>>> When I import ofbiz in eclipse and do a project validation, eclipse >>>> find a >>>> lot xml and xsl problems... >>>> >>>> With a brand new version of Eclipse Indigo SR2, ofbiz 10.04.02 or >>>> the last >>>> version from github... >>>> >>>> I am really not an expert of xml... >>>> >>>> Can someone give me a bit of direction... Should I care about these >>>> validation problems or maibe switch this validation off??? >>>> >>>> Thank in advance, >>>> >>>> Michel >>>> |
Thanks a lot to both off you!
(.... unfortunately I had a housebreaking and thus was not in my office yesterday ... I start investigating the use local XSD today ...) Have a good weekend, Michel |
Free forum by Nabble | Edit this page |