You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2007/06/16 07:12:25 UTC

[jira] Resolved: (AXIS2-2685) wsdl2code lose XML declaration (
     [ https://issues.apache.org/jira/browse/AXIS2-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu resolved AXIS2-2685.
--------------------------------------------

    Resolution: Fixed

XMLSchema is modified to take in the map of options can the code in Axis2 has been modified to use this new capability and serialize schemas with the XML declaration

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org