You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Michel Schroeder <mi...@gmail.com> on 2012/04/25 17:50:48 UTC
Newbie question: a lot of XML validation problems in eclipse
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
Re: Newbie question: a lot of XML validation problems in eclipse
Posted by Michel Schroeder <mi...@gmail.com>.
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
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Newbie-question-a-lot-of-XML-validation-problems-in-eclipse-tp4587026p4592124.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Newbie question: a lot of XML validation problems in eclipse
Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <ad...@sandglass-software.com>
>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" <ad...@sandglass-software.com>
>>> 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
>>>>
Re: Newbie question: a lot of XML validation problems in eclipse
Posted by Adrian Crum <ad...@sandglass-software.com>.
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" <ad...@sandglass-software.com>
>> 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
>>>
Re: Newbie question: a lot of XML validation problems in eclipse
Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <ad...@sandglass-software.com>
> 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
>>
Re: Newbie question: a lot of XML validation problems in eclipse
Posted by Adrian Crum <ad...@sandglass-software.com>.
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
>