Skip to content

XML namespace (http://www.w3.org/XML/1998/namespace) mapped to wrong prefix when building WSDL with inlined schemas [SWS-339] #491

Closed
@gregturn

Description

@gregturn

Stephen Duncan Jr opened SWS-339 and commented

When using CommonsXsdSchemaCollection with inline=true, and inlining a schema that use the xml namespace, the WSDL cannot be generated due to the following exception:

org.xml.sax.SAXParseException: The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml".

InliningXsdSchemaTypesProvider.addTypes should check for the namespace "http://www.w3.org/XML/1998/namespace" and always map it to the prefix "xml"


Affects: 1.5

Referenced from: commits e8b552d, 557fa9d

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions