[ 
https://issues.apache.org/jira/browse/AXIS2-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505293
 ] 

Ajith Harshana Ranabahu commented on AXIS2-2685:
------------------------------------------------

This is really a XMLSchema serialization issue where the declaration was 
forcibly removed and there are no configs that can handle that. We will fix 
this with XMLSchema and ultimately for the next Axis2 release

> wsdl2code lose XML declaration (<?xml) in XSD
> ---------------------------------------------
>
>                 Key: AXIS2-2685
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2685
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>         Environment: Windows XP,
>            Reporter: Antoni Jakubiak
>            Assignee: Amila Chinthaka Suriarachchi
>
> I use axis2-wsdl2code-maven-plugin. 
> My original XSD file begin with line:
> $ head -n 2 src/main/axis2/datamodel.xsd
> <?xml version="1.0" encoding="UTF-8"?>
> <schema xmlns="http://www.w3.org/2001/XMLSchema";
> But generated XSD lose XML declaration:
> $ head -n 1 axis2/resources/xsd0.xsd
> <schema xmlns:tns=" [...]
> XSD files without XML declaration may not work correctly. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to