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 "Antoni Jakubiak (JIRA)" <ji...@apache.org> on 2007/05/18 11:23:16 UTC

[jira] Created: (AXIS2-2685) wsdl2code lose 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


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


[jira] Updated: (AXIS2-2685) wsdl2code lose XML declaration ( Posted by "Jaliya Ekanayake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaliya Ekanayake updated AXIS2-2685:
------------------------------------

    Priority: Blocker  (was: Major)

> 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
>            Priority: Blocker
>
> 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


[jira] Updated: (AXIS2-2685) wsdl2code lose XML declaration ( Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eran Chinthaka updated AXIS2-2685:
----------------------------------

    Priority: Major  (was: Blocker)

> 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


[jira] Assigned: (AXIS2-2685) wsdl2code lose XML declaration ( Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reassigned AXIS2-2685:
---------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>         Assigned To: 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


[jira] Commented: (AXIS2-2685) wsdl2code lose XML declaration ( Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2685) wsdl2code lose XML declaration ( Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ 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