xsd update break autocomplete?

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

xsd update break autocomplete?

Chris Howe-2
Autocomplete in my xml editor was working last night.  Not working now.
Look at the SVN Browse and notice that the xsd files have been changed in
Rev 763615.  Related?  Anyone else experiencing likewise?

Chris Howe
Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Chris Howe-2
Have confirmed that this is the problem as changing the
noNamespaceSchemaLocation to
http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
problem.


Chris Howe



On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:

> Autocomplete in my xml editor was working last night.  Not working now.
> Look at the SVN Browse and notice that the xsd files have been changed in
> Rev 763615.  Related?  Anyone else experiencing likewise?
>
> Chris Howe
>
>
Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Jacques Le Roux
Administrator
Thanks for report Chris,

A good way to avoid such problems (but also avoid to know that there is actually a problem :/) is to use catalogs
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-UsinglocaleXSDfilesinsteadofOFBizremote(at

Jacques

From: "Chris Howe" <[hidden email]>

> Have confirmed that this is the problem as changing the
> noNamespaceSchemaLocation to
> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
> problem.
>
>
> Chris Howe
>
>
>
> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>
>> Autocomplete in my xml editor was working last night.  Not working now.
>> Look at the SVN Browse and notice that the xsd files have been changed in
>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>
>> Chris Howe
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

David E Jones-3
In reply to this post by Chris Howe-2

Chris: Is your XML editor giving you any errors?

Is anyone else seeing the problem?

An error message or some sort of hint would be helpful for getting  
this resolved.

-David


On Apr 9, 2009, at 9:13 AM, Chris Howe wrote:

> Have confirmed that this is the problem as changing the
> noNamespaceSchemaLocation to
> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
> problem.
>
>
> Chris Howe
>
>
>
> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>
>> Autocomplete in my xml editor was working last night.  Not working  
>> now.
>> Look at the SVN Browse and notice that the xsd files have been  
>> changed in
>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>
>> Chris Howe
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Adrian Crum
I just did a fresh checkout and autocomplete in Eclipse is working fine
for me.

-Adrian

David E Jones wrote:

>
> Chris: Is your XML editor giving you any errors?
>
> Is anyone else seeing the problem?
>
> An error message or some sort of hint would be helpful for getting this
> resolved.
>
> -David
>
>
> On Apr 9, 2009, at 9:13 AM, Chris Howe wrote:
>
>> Have confirmed that this is the problem as changing the
>> noNamespaceSchemaLocation to
>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes 
>>
>> problem.
>>
>>
>> Chris Howe
>>
>>
>>
>> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>>
>>> Autocomplete in my xml editor was working last night.  Not working now.
>>> Look at the SVN Browse and notice that the xsd files have been
>>> changed in
>>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>>
>>> Chris Howe
>>>
>>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Chris Howe-2
In reply to this post by David E Jones-3
Running eclipse on Ubuntu there are no error messages in the console or
within the program.
Simply setting the noNamespaceSchemaLocation to
http://ofbiz.apache.org/dtds/services.xsd
or
http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=763615
results in no code assist while
http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?revision=649867
provides code assist.

Looking through the patches, they appear to just be whitespace changes.

Chris Howe



On Thu, Apr 9, 2009 at 3:57 PM, David E Jones
<[hidden email]>wrote:

>
> Chris: Is your XML editor giving you any errors?
>
> Is anyone else seeing the problem?
>
> An error message or some sort of hint would be helpful for getting this
> resolved.
>
> -David
>
>
>
> On Apr 9, 2009, at 9:13 AM, Chris Howe wrote:
>
>  Have confirmed that this is the problem as changing the
>> noNamespaceSchemaLocation to
>>
>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
>> problem.
>>
>>
>> Chris Howe
>>
>>
>>
>> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>>
>>  Autocomplete in my xml editor was working last night.  Not working now.
>>> Look at the SVN Browse and notice that the xsd files have been changed in
>>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>>
>>> Chris Howe
>>>
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Jacques Le Roux
Administrator
Whitespace changes are mine, I will take care of that...

Jacques

From: "Chris Howe" <[hidden email]>

> Running eclipse on Ubuntu there are no error messages in the console or
> within the program.
> Simply setting the noNamespaceSchemaLocation to
> http://ofbiz.apache.org/dtds/services.xsd
> or
> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=763615
> results in no code assist while
> http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?revision=649867
> provides code assist.
>
> Looking through the patches, they appear to just be whitespace changes.
>
> Chris Howe
>
>
>
> On Thu, Apr 9, 2009 at 3:57 PM, David E Jones
> <[hidden email]>wrote:
>
>>
>> Chris: Is your XML editor giving you any errors?
>>
>> Is anyone else seeing the problem?
>>
>> An error message or some sort of hint would be helpful for getting this
>> resolved.
>>
>> -David
>>
>>
>>
>> On Apr 9, 2009, at 9:13 AM, Chris Howe wrote:
>>
>>  Have confirmed that this is the problem as changing the
>>> noNamespaceSchemaLocation to
>>>
>>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
>>> problem.
>>>
>>>
>>> Chris Howe
>>>
>>>
>>>
>>> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>>>
>>>  Autocomplete in my xml editor was working last night.  Not working now.
>>>> Look at the SVN Browse and notice that the xsd files have been changed in
>>>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>>>
>>>> Chris Howe
>>>>
>>>>
>>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Jacques Le Roux
Administrator
Finally I think it's really not related to whitespace changes.
http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/service/dtd/services.xsd?r1=742352&r2=763175
Maybe previous changes done in r742352 and/or r742238 ?
http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/service/dtd/services.xsd?r1=649478&r2=742238
http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/service/dtd/services.xsd?r1=742238&r2=742352
(More likely r742238, but I can't see why it should affect Autocomplete)

BTW, why do you use noNamespaceSchemaLocation  ?

Jacques

From: "Jacques Le Roux" <[hidden email]>

> Whitespace changes are mine, I will take care of that...
>
> Jacques
>
> From: "Chris Howe" <[hidden email]>
>> Running eclipse on Ubuntu there are no error messages in the console or
>> within the program.
>> Simply setting the noNamespaceSchemaLocation to
>> http://ofbiz.apache.org/dtds/services.xsd
>> or
>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=763615
>> results in no code assist while
>> http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?revision=649867
>> provides code assist.
>>
>> Looking through the patches, they appear to just be whitespace changes.
>>
>> Chris Howe
>>
>>
>>
>> On Thu, Apr 9, 2009 at 3:57 PM, David E Jones
>> <[hidden email]>wrote:
>>
>>>
>>> Chris: Is your XML editor giving you any errors?
>>>
>>> Is anyone else seeing the problem?
>>>
>>> An error message or some sort of hint would be helpful for getting this
>>> resolved.
>>>
>>> -David
>>>
>>>
>>>
>>> On Apr 9, 2009, at 9:13 AM, Chris Howe wrote:
>>>
>>>  Have confirmed that this is the problem as changing the
>>>> noNamespaceSchemaLocation to
>>>>
>>>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
>>>> problem.
>>>>
>>>>
>>>> Chris Howe
>>>>
>>>>
>>>>
>>>> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>>>>
>>>>  Autocomplete in my xml editor was working last night.  Not working now.
>>>>> Look at the SVN Browse and notice that the xsd files have been changed in
>>>>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>>>>
>>>>> Chris Howe
>>>>>
>>>>>
>>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: xsd update break autocomplete?

Jacques Le Roux
Administrator
Understood and fixed in revision: 764195

Maybe we will see some other stuffes like this where a space at end of a line actually acts as a separator with another block... I
though about that when I did the change and I looked 1st at xml demo data files but finally found not issues. I will check more...

Thanks Chris

Jacques

From: "Jacques Le Roux" <[hidden email]>

> Finally I think it's really not related to whitespace changes.
> http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/service/dtd/services.xsd?r1=742352&r2=763175
> Maybe previous changes done in r742352 and/or r742238 ?
> http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/service/dtd/services.xsd?r1=649478&r2=742238
> http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/service/dtd/services.xsd?r1=742238&r2=742352
> (More likely r742238, but I can't see why it should affect Autocomplete)
>
> BTW, why do you use noNamespaceSchemaLocation  ?
>
> Jacques
>
> From: "Jacques Le Roux" <[hidden email]>
>> Whitespace changes are mine, I will take care of that...
>>
>> Jacques
>>
>> From: "Chris Howe" <[hidden email]>
>>> Running eclipse on Ubuntu there are no error messages in the console or
>>> within the program.
>>> Simply setting the noNamespaceSchemaLocation to
>>> http://ofbiz.apache.org/dtds/services.xsd
>>> or
>>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=763615
>>> results in no code assist while
>>> http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?revision=649867
>>> provides code assist.
>>>
>>> Looking through the patches, they appear to just be whitespace changes.
>>>
>>> Chris Howe
>>>
>>>
>>>
>>> On Thu, Apr 9, 2009 at 3:57 PM, David E Jones
>>> <[hidden email]>wrote:
>>>
>>>>
>>>> Chris: Is your XML editor giving you any errors?
>>>>
>>>> Is anyone else seeing the problem?
>>>>
>>>> An error message or some sort of hint would be helpful for getting this
>>>> resolved.
>>>>
>>>> -David
>>>>
>>>>
>>>>
>>>> On Apr 9, 2009, at 9:13 AM, Chris Howe wrote:
>>>>
>>>>  Have confirmed that this is the problem as changing the
>>>>> noNamespaceSchemaLocation to
>>>>>
>>>>> http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?revision=737204fixes
>>>>> problem.
>>>>>
>>>>>
>>>>> Chris Howe
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Apr 9, 2009 at 10:11 AM, Chris Howe <[hidden email]> wrote:
>>>>>
>>>>>  Autocomplete in my xml editor was working last night.  Not working now.
>>>>>> Look at the SVN Browse and notice that the xsd files have been changed in
>>>>>> Rev 763615.  Related?  Anyone else experiencing likewise?
>>>>>>
>>>>>> Chris Howe
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>
>>
>