Comments in Simple Methods

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

Comments in Simple Methods

Andrew Zeneski
Are comments no longer allowed in simple methods?

2007-01-05 13:11:16,462 (http-0.0.0.0-8443-Processor4)  
[            UtilXml.java:658:ERROR] XmlFileLoader: File file:/Users/
jaz/Sandbox/apache-ofbiz/applications/order/script/org/ofbiz/order/
order/OrderServices.xml process error. Line: 824. Error message: s4s-
elt-character: Non-whitespace characters are not allowed in schema  
elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'The  
name of the class to construct an object of. '.

Andrew



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Comments in Simple Methods

David E Jones-2

This looks like an error in the XSD file, not in the XML file. My  
guess is it's related to the work Jacques has been doing.

Could you look into this Jacques? I'd be happy to fix it, but if  
you're continuing work in that file this was you can also avoid it in  
the future.

Opening up the XSD file in my editor I'm seeing around half a dozen  
errors. The main issue seems to be that the xs:annotation needs to be  
the first element under xs:attributeGroup and other such elements.

-David


On Jan 5, 2007, at 11:53 AM, Andrew Zeneski wrote:

> Are comments no longer allowed in simple methods?
>
> 2007-01-05 13:11:16,462 (http-0.0.0.0-8443-Processor4)  
> [            UtilXml.java:658:ERROR] XmlFileLoader: File file:/
> Users/jaz/Sandbox/apache-ofbiz/applications/order/script/org/ofbiz/
> order/order/OrderServices.xml process error. Line: 824. Error  
> message: s4s-elt-character: Non-whitespace characters are not  
> allowed in schema elements other than 'xs:appinfo' and  
> 'xs:documentation'. Saw 'The name of the class to construct an  
> object of. '.
>
> Andrew
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Comments in Simple Methods

Jacques Le Roux
Administrator
Sorry Andy,

Thanks for the tip David, done in rev. 493176. Validated by :  http://www.w3.org/2001/XMLSchema.xsd 

Still learning Oxygen really powerful !

Jacques

----- Original Message -----
From: "David E Jones" <[hidden email]>
To: <[hidden email]>
Sent: Friday, January 05, 2007 8:02 PM
Subject: Re: Comments in Simple Methods


>
> This looks like an error in the XSD file, not in the XML file. My  
> guess is it's related to the work Jacques has been doing.
>
> Could you look into this Jacques? I'd be happy to fix it, but if  
> you're continuing work in that file this was you can also avoid it in  
> the future.
>
> Opening up the XSD file in my editor I'm seeing around half a dozen  
> errors. The main issue seems to be that the xs:annotation needs to be  
> the first element under xs:attributeGroup and other such elements.
>
> -David
>
>
> On Jan 5, 2007, at 11:53 AM, Andrew Zeneski wrote:
>
> > Are comments no longer allowed in simple methods?
> >
> > 2007-01-05 13:11:16,462 (http-0.0.0.0-8443-Processor4)  
> > [            UtilXml.java:658:ERROR] XmlFileLoader: File file:/
> > Users/jaz/Sandbox/apache-ofbiz/applications/order/script/org/ofbiz/
> > order/order/OrderServices.xml process error. Line: 824. Error  
> > message: s4s-elt-character: Non-whitespace characters are not  
> > allowed in schema elements other than 'xs:appinfo' and  
> > 'xs:documentation'. Saw 'The name of the class to construct an  
> > object of. '.
> >
> > Andrew
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Comments in Simple Methods

David E Jones-2

Wow, great. Thanks for getting to that so quickly Jacques.

-David


On Jan 5, 2007, at 1:27 PM, Jacques Le Roux wrote:

> Sorry Andy,
>
> Thanks for the tip David, done in rev. 493176. Validated by :  
> http://www.w3.org/2001/XMLSchema.xsd
>
> Still learning Oxygen really powerful !
>
> Jacques
>
> ----- Original Message -----
> From: "David E Jones" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, January 05, 2007 8:02 PM
> Subject: Re: Comments in Simple Methods
>
>
>>
>> This looks like an error in the XSD file, not in the XML file. My
>> guess is it's related to the work Jacques has been doing.
>>
>> Could you look into this Jacques? I'd be happy to fix it, but if
>> you're continuing work in that file this was you can also avoid it in
>> the future.
>>
>> Opening up the XSD file in my editor I'm seeing around half a dozen
>> errors. The main issue seems to be that the xs:annotation needs to be
>> the first element under xs:attributeGroup and other such elements.
>>
>> -David
>>
>>
>> On Jan 5, 2007, at 11:53 AM, Andrew Zeneski wrote:
>>
>>> Are comments no longer allowed in simple methods?
>>>
>>> 2007-01-05 13:11:16,462 (http-0.0.0.0-8443-Processor4)
>>> [            UtilXml.java:658:ERROR] XmlFileLoader: File file:/
>>> Users/jaz/Sandbox/apache-ofbiz/applications/order/script/org/ofbiz/
>>> order/order/OrderServices.xml process error. Line: 824. Error
>>> message: s4s-elt-character: Non-whitespace characters are not
>>> allowed in schema elements other than 'xs:appinfo' and
>>> 'xs:documentation'. Saw 'The name of the class to construct an
>>> object of. '.
>>>
>>> Andrew
>>>
>>>
>>
>>


smime.p7s (3K) Download Attachment