[
https://issues.apache.org/jira/browse/CXF-8760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Auß updated CXF-8760:
-----------------------------
Summary: cxf-codegen-plugin ignores https redirect for schema import,
throws SAXParseException Premature end of file. (was: cxf-codegen-plugin
ignores https redirect for schema import, throws SAXParseException)
> cxf-codegen-plugin ignores https redirect for schema import, throws
> SAXParseException Premature end of file.
> ------------------------------------------------------------------------------------------------------------
>
> Key: CXF-8760
> URL: https://issues.apache.org/jira/browse/CXF-8760
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.5.1, 3.5.3
> Reporter: Michael Auß
> Priority: Major
>
> 301 Redirect is ignored, when
> schemaLocation="[http://www.w3.org/2005/05/xmlmime]" and Server answers.
>
> {code:java}
> curl -v http://www.w3.org/2005/05/xmlmime
> * Trying 128.30.52.100:80...
> * Connected to www.w3.org (128.30.52.100) port 80 (#0)
> > GET /2005/05/xmlmime HTTP/1.1
> > Host: www.w3.org
> > User-Agent: curl/7.84.0
> > Accept: */*
> >
> * Mark bundle as not supporting multiuse
> < HTTP/1.1 301 Moved Permanently
> < content-length: 0
> < location: https://www.w3.org/2005/05/xmlmime
> <
> * Connection #0 to host www.w3.org left intact {code}
>
> {{Caused by: org.xml.sax.SAXParseExceptionpublicId:
> [http://www.w3.org/2005/05/xmlmime]; systemId:
> [http://www.w3.org/2005/05/xmlmime]; lineNumber: 1; columnNumber: 1;
> Premature end of file.}}
> {{[WARNING] at
> java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)}}
> {{[WARNING] at
> java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)}}
> [WARNING] at
> com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2188)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)