You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bob Fields (JIRA)" <ji...@apache.org> on 2008/09/23 22:47:44 UTC
[jira] Created: (CXF-1818) java2ws -createxsdimports with packages
that reference other packages should have schemaLocation in schema import
java2ws -createxsdimports with packages that reference other packages should have schemaLocation in schema import
-----------------------------------------------------------------------------------------------------------------
Key: CXF-1818
URL: https://issues.apache.org/jira/browse/CXF-1818
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 2.1.2
Environment: Windows XP, Sun JDK 1.5, CXF 2.1.2 or 2.2-SNAPSHOT
Reporter: Bob Fields
Priority: Minor
Fix For: 2.2
Object in package A references another object in package B. Using -createxsdimports option in java2ws creates schema imports and schemaLocation values properly in the .wsdl file but not in the .xsd files. <It creates xs:import namespace="value"> without the schemaLocation="" attribute, causing validation in most xml validators to fail. Workaround is to not use -createxsdimports, so that everything is generated in a single wsdl file, which validates properly. However, the schema files are more readable and reusable when created in separate files, instead of inline within the wsdl file.
Attached sample demonstrates this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1818) java2ws -createxsdimports with packages
that reference other packages should have schemaLocation in schema import
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1818.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.6
2.1.9
> java2ws -createxsdimports with packages that reference other packages should have schemaLocation in schema import
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CXF-1818
> URL: https://issues.apache.org/jira/browse/CXF-1818
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.1.2
> Environment: Windows XP, Sun JDK 1.5, CXF 2.1.2 or 2.2-SNAPSHOT
> Reporter: Bob Fields
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.1.9, 2.2.6
>
> Attachments: CXFJava2XSDImportBug.zip
>
>
> Object in package A references another object in package B. Using -createxsdimports option in java2ws creates schema imports and schemaLocation values properly in the .wsdl file but not in the .xsd files. <It creates xs:import namespace="value"> without the schemaLocation="" attribute, causing validation in most xml validators to fail. Workaround is to not use -createxsdimports, so that everything is generated in a single wsdl file, which validates properly. However, the schema files are more readable and reusable when created in separate files, instead of inline within the wsdl file.
> Attached sample demonstrates this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1818) java2ws -createxsdimports with packages
that reference other packages should have schemaLocation in schema import
Posted by "Bob Fields (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bob Fields updated CXF-1818:
----------------------------
Attachment: CXFJava2XSDImportBug.zip
Run either java2.bat or ant to build the wsdl/xsd files (already included).
> java2ws -createxsdimports with packages that reference other packages should have schemaLocation in schema import
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CXF-1818
> URL: https://issues.apache.org/jira/browse/CXF-1818
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.1.2
> Environment: Windows XP, Sun JDK 1.5, CXF 2.1.2 or 2.2-SNAPSHOT
> Reporter: Bob Fields
> Priority: Minor
> Fix For: 2.2
>
> Attachments: CXFJava2XSDImportBug.zip
>
>
> Object in package A references another object in package B. Using -createxsdimports option in java2ws creates schema imports and schemaLocation values properly in the .wsdl file but not in the .xsd files. <It creates xs:import namespace="value"> without the schemaLocation="" attribute, causing validation in most xml validators to fail. Workaround is to not use -createxsdimports, so that everything is generated in a single wsdl file, which validates properly. However, the schema files are more readable and reusable when created in separate files, instead of inline within the wsdl file.
> Attached sample demonstrates this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-1818) java2ws -createxsdimports with packages
that reference other packages should have schemaLocation in schema import
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-1818:
--------------------------------
Assignee: Daniel Kulp
> java2ws -createxsdimports with packages that reference other packages should have schemaLocation in schema import
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CXF-1818
> URL: https://issues.apache.org/jira/browse/CXF-1818
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.1.2
> Environment: Windows XP, Sun JDK 1.5, CXF 2.1.2 or 2.2-SNAPSHOT
> Reporter: Bob Fields
> Assignee: Daniel Kulp
> Priority: Minor
> Attachments: CXFJava2XSDImportBug.zip
>
>
> Object in package A references another object in package B. Using -createxsdimports option in java2ws creates schema imports and schemaLocation values properly in the .wsdl file but not in the .xsd files. <It creates xs:import namespace="value"> without the schemaLocation="" attribute, causing validation in most xml validators to fail. Workaround is to not use -createxsdimports, so that everything is generated in a single wsdl file, which validates properly. However, the schema files are more readable and reusable when created in separate files, instead of inline within the wsdl file.
> Attached sample demonstrates this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.