Hi Aparna,

When you develop a BPEL process, eclipse editor adds xml:space attribute
temporally to handle white space [1]. Developer has to remove those
temporary attributes and initialize variable properly.

xml:space attribute is not a part of the BPEL spec, hence BPEL compiler
report those as errors. It is not a bug, that is expected behavior. But
having those in BPEL make no harm.

​I went though attached BPEL. You can eliminate xml:space and other xml
elements related errors by modifying BPEL process. Those are not bugs of
ODE compiler, but problem of BPEL archive. Since IS is shipping this BPEL
archive, IMO we have to move this jira to IS space and track there. WDYT ?

[1] - http://www.xmlplease.com/xml/xmlspace/

Thanks
Hasitha.

On Mon, Nov 2, 2015 at 7:48 PM, Nandika Jayawardana <nand...@wso2.com>
wrote:

> Hi Aparana,
>
> This extension is b4p extension. We have not modified ode compiler when
> introducing the b4p extension, hence the warning. However, it does not have
> any impact on the runtime.
>
> Regards
> Nandika
>
> On Mon, Nov 2, 2015 at 1:54 AM, Aparna Karunarathna <apa...@wso2.com>
> wrote:
>
>> Hi Nandika/ Chathura/ Hasitha,
>>
>> Shouldn't we fix this issue? Vinod has clearly mentioned in the jira[1]
>> that this was getting from extension that introduced in BPS/Dev Studio
>> which is not compliance with ODE.
>>
>> *"Those errors can be seen in both standalone and cluster mode. These are
>> bpel compilation errors logged by ODE server due to the extensions we have
>> introduced in BPS/Dev Studio, which are not compliance with ODE (They are
>> not errors actually).*
>> *If the package get deployed successfully, please ignore those error
>> logs."*
>>
>> [1] https://wso2.org/jira/browse/BPS-915
>>
>> Regards,
>> Aparna
>>
>> On Thu, Oct 29, 2015 at 2:39 PM, Vinod Kavinda <vi...@wso2.com> wrote:
>>
>>> HI,
>>> Adding to above, some of those tags such as 'xml:space'  are not
>>> required that are added by dev studio. They can be removed from the model
>>> without affecting any functionality.
>>>
>>> Regards,
>>> Vinod Kavinda
>>>
>>> On Thu, Oct 29, 2015 at 2:36 PM, Vinod Kavinda <vi...@wso2.com> wrote:
>>>
>>>> Hi all,
>>>> Those errors can be seen in standalone mode also, they can be seen in
>>>> carbon logs. These are bpel compilation errors logged by ODE server due to
>>>> the extensions we have introduced in  BPS, which are not compliance with
>>>> ODE (They are not errors actually).
>>>> If the package get deployed successfully, please ignore those error
>>>> logs.
>>>>
>>>> Regards,
>>>> Vinod
>>>>
>>>> On Thu, Oct 29, 2015 at 9:46 AM, Aparna Karunarathna <apa...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have attached the bpel package to the jira[1]
>>>>>
>>>>> [1] https://wso2.org/jira/browse/IDENTITY-3950
>>>>>
>>>>> Regards,
>>>>> Aparna
>>>>>
>>>>> On Wed, Oct 28, 2015 at 10:29 PM, Nandika Jayawardana <
>>>>> nand...@wso2.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>> Can you attach the actual bpel package generated. It looks like some
>>>>>> invalid content is generated into the bpel file.
>>>>>>
>>>>>> Regards
>>>>>> Nandika
>>>>>>
>>>>>> On Wed, Oct 28, 2015 at 10:20 PM, Harsha Thirimanna <hars...@wso2.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Is this intermittent ? Because I also reported this once earlier  in
>>>>>>> dev mail. This was happened intermittently earlier in standalone pack as
>>>>>>> well.
>>>>>>> On Oct 28, 2015 10:15 PM, "Chamila Wijayarathna" <cham...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> Currently we are testing IS workflow feature with a BPS cluster.
>>>>>>>> When creating a new workflow, we have observed following error at BPS
>>>>>>>> terminal.
>>>>>>>>
>>>>>>>> ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:51:17:cvc-complex-type.2.4.a:
>>>>>>>> Invalid content was found starting with element 'extensions'. One of 
>>>>>>>> '{"
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":import, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":partnerLinks,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":messageExchanges,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":variables,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":correlationSets,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":faultHandlers,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":eventHandlers,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":assign,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":compensate,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":compensateScope,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":empty, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":exit, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":extensionActivity,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":flow, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":forEach,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":if, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":invoke, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":pick, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":receive,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":repeatUntil,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":reply, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":rethrow,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":scope, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":sequence,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":throw, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":validate,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":wait, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":while}'
>>>>>>>> is expected.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,230] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:51:17:cvc-complex-type.2.4.a:
>>>>>>>> Invalid content was found starting with element 'extensions'. One of 
>>>>>>>> '{"
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":import, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":partnerLinks,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":messageExchanges,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":variables,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":correlationSets,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":faultHandlers,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":eventHandlers,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":assign,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":compensate,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":compensateScope,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":empty, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":exit, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":extensionActivity,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":flow, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":forEach,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":if, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":invoke, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":pick, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":receive,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":repeatUntil,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":reply, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":rethrow,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":scope, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":sequence,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":throw, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":validate,
>>>>>>>> "http://docs.oasis-open.org/wsbpel/2.0/process/executable":wait, "
>>>>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable":while}'
>>>>>>>> is expected.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,231] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:88:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,231] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:88:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,231] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:94:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,231] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:94:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,232] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:114:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,232] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:114:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,233] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:138:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,233] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:138:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,235] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:224:56:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,235] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:224:56:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,237] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:303:84:cvc-elt.4.2:
>>>>>>>> Cannot resolve 'p:tExpression' to a type definition for element
>>>>>>>> 'p:searchBy'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,237] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aaaaaa-10/aaaaaa.bpel:303:84:cvc-elt.4.2:
>>>>>>>> Cannot resolve 'p:tExpression' to a type definition for element
>>>>>>>> 'p:searchBy'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,249]  WARN
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory} -  Validation 
>>>>>>>> errors
>>>>>>>> during parsing, continuing due to
>>>>>>>> -Dorg.apache.ode.compiler.failOnValidationErrors=false switch
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,249]  WARN
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory} -  Validation 
>>>>>>>> errors
>>>>>>>> during parsing, continuing due to
>>>>>>>> -Dorg.apache.ode.compiler.failOnValidationErrors=false switch
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory}
>>>>>>>>
>>>>>>>>
>>>>>>>> Any idea about what could be the reason for this? We are not
>>>>>>>> observing this with standalone BPS or IS with BPS features included.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Chamila Dilshan Wijayarathna,*
>>>>>>>> Software Engineer
>>>>>>>> Mobile:(+94)788193620
>>>>>>>> WSO2 Inc., http://wso2.com/
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Nandika Jayawardana
>>>>>> WSO2 Inc ; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Regards,*
>>>>>
>>>>> *Aparna Karunarathna.*
>>>>>
>>>>>
>>>>> *Associate Technical Lead - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Vinod Kavinda
>>>> Software Engineer
>>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>>> Mobile : +94 (0) 712 415544
>>>> Blog : http://soatechflicks.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> Vinod Kavinda
>>> Software Engineer
>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>> Mobile : +94 (0) 712 415544
>>> Blog : http://soatechflicks.blogspot.com/
>>>
>>>
>>
>>
>> --
>> *Regards,*
>>
>> *Aparna Karunarathna.*
>>
>>
>> *Associate Technical Lead - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>
>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to