-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jaxb-tck/issues/78 switch to https://www.w3.org/2005/05/xmlmime #1661
Conversation
@@ -23,7 +23,7 @@ private WellKnownNamespace() {} // no instanciation please | |||
|
|||
public static final String SWA_URI = "http://ws-i.org/profiles/basic/1.1/xsd"; | |||
|
|||
public static final String XML_MIME_URI = "http://www.w3.org/2005/05/xmlmime"; | |||
public static final String XML_MIME_URI = "https://www.w3.org/2005/05/xmlmime"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this shouldn't change. It's the namespace name, which is just a string. And that name is part of the spec.
@@ -622,7 +622,7 @@ private void writeTo(Result result, Map<Namespace,String> systemIds) throws IOEx | |||
schema._import().namespace(WellKnownNamespace.SWA_URI).schemaLocation("http://ws-i.org/profiles/basic/1.1/swaref.xsd"); | |||
} | |||
if(useMimeNs) { | |||
schema._import().namespace(WellKnownNamespace.XML_MIME_URI).schemaLocation("http://www.w3.org/2005/05/xmlmime"); | |||
schema._import().namespace(WellKnownNamespace.XML_MIME_URI).schemaLocation("https://www.w3.org/2005/05/xmlmime"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This schema location otoh is a url where the schema is found, so there changing https makes sense to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'll try to test again with just this line changed!
Results so far are looking better:
Will let it run to completion and report back on results. |
Signed-off-by: Scott Marlow <[email protected]>
ef2881a
to
ac7a594
Compare
Looks good now, XML Binding 4.0 TCK Test results from WildFly with this change:
|
@scottmarlow It's good to know that these uris are actually defined in jaxb-ri instead of jaxb-tck source. How did you find this should be fixed in jaxb-ri ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4.0.1 is in staging |
Signed-off-by: Scott Marlow [email protected]
This change doesn't seem to help directly with jakartaee/jaxb-tck#78 but will create a draft pr in case we want to merge it anyway (we can switch to ready for review). I immediately saw the following failures with this change, so it didn't seem to help: