[ 
https://issues.apache.org/jira/browse/AXIS2-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amila Maharachchi updated AXIS2-5016:
-------------------------------------

    Description: 
When a XSD is imported by several other XSDs , then an additional character is 
appended to the name of the imported XSD. This can be seen when accessing 
?xsd=<xsdname>. For example if MySchema.XSD is imported by several other XSDs, 
in one file it will be shown as below (Actually, the XSD is duplicated with a 
different name).
<xs:import namespace="namespaceUrl" schemaLocation="MyService?xsd=MySchema.xsd" 
/>
In another XSD, it will be shown as 
<xs:import namespace="namespaceUrl" 
schemaLocation="MyService?xsd=MySchema0.xsd" />

But ideally, in both occasions it should be shown as MySchema.xsd.

  was:
When a XSD is imported by several other XSDs , then an additional character is 
appended to the name of the imported XSD. This can be seen when accessing 
?xsd=<xsdname>. For example if MySchema.XSD is imported by several other XSDs, 
in one file it will be shown as below.
<xs:import namespace="namespaceUrl" schemaLocation="MyService?xsd=MySchema.xsd" 
/>
In another XSD, it will be shown as 
<xs:import namespace="namespaceUrl" 
schemaLocation="MyService?xsd=MySchema0.xsd" />

But ideally, in both occasions it should be shown as MySchema.xsd.

        Summary: Additional characters appended to XSD names (XSD is 
duplicated) when same XSD is imported by several other XSDs  (was: Additional 
characters appended to XSD names when same XSD is imported by several other 
XSDs)

> Additional characters appended to XSD names (XSD is duplicated) when same XSD 
> is imported by several other XSDs
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5016
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5016
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Amila Maharachchi
>
> When a XSD is imported by several other XSDs , then an additional character 
> is appended to the name of the imported XSD. This can be seen when accessing 
> ?xsd=<xsdname>. For example if MySchema.XSD is imported by several other 
> XSDs, in one file it will be shown as below (Actually, the XSD is duplicated 
> with a different name).
> <xs:import namespace="namespaceUrl" 
> schemaLocation="MyService?xsd=MySchema.xsd" />
> In another XSD, it will be shown as 
> <xs:import namespace="namespaceUrl" 
> schemaLocation="MyService?xsd=MySchema0.xsd" />
> But ideally, in both occasions it should be shown as MySchema.xsd.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to