Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-spec-project-leads] XML namespace under Jakarta

Thanks for the info, nice timing :) 

If it actually should be a resolveable URL, I'd suggest to go for http*s*, so to play nicely with the general trend towards TLS by default. 

That said, does it really have to be a resolveable URL to begin with, or was it also considered to use an URN namespace (https://www.w3.org/TR/uri-clarification/#urn-namespaces)? Such as "urn:jakartaee:validation:configuration"?

I've been bitten a few times in the past where misconfigured tools or libraries would try and download a schema from the given namespace URL instead of using a local version of the file. That issue is avoided by using URN namespaces which don't create the perception of being resolveable URLs to begin with. 

Both would work from my PoV, but I thought I'd bring it up so do see what others here think.

Best,

--Gunnar 


----- Original Message ----- 

> From: "Bill Shannon" <bill.shannon@xxxxxxxxxx>
> To: "JakartaEE Spec Project Leadership discussions"
> <jakartaee-spec-project-leads@xxxxxxxxxxx>, "Steve Millidge (Payara)"
> <steve.millidge@xxxxxxxxxxx>
> Sent: Wednesday, 15 January, 2020 8:22:22 AM
> Subject: Re: [jakartaee-spec-project-leads] XML namespace under Jakarta

> Just for the record, the proposed path was
> to replace http://xmlns.jcp.org/xml/ns/javaee/... with
> http://jakarta.ee/xml/ns/jakartaee/...

> So if the old URL has "javaee" in the file name part of the path,
> it would be replaced by "jakartaee" in the file name part of the new
> path, and the host would change to jakarta.ee.

> But we need to wait for Ivar and Eclipse to make a final decision.
> They might decide that they want a subdomain (xmlns.jakarta.ee)
> to better be able to split the traffic based on load.

> Steve Millidge (Payara) wrote on 1/14/20 2:05 PM:
> > This was discussed on the platform call today. My recollection is that Ivar
> > was going to discuss internally at Eclipse and get a resolvable URL we can
> > use on the Jakarta.ee website and once that is agreed we'll put out a
> > namespace recommendation. I think the idea was to add also add jakartaee
> > in the path before the spec name as well as the hostname.
> >
> > Steve
> >
> > -----Original Message-----
> > From: jakartaee-spec-project-leads-bounces@xxxxxxxxxxx
> > <jakartaee-spec-project-leads-bounces@xxxxxxxxxxx> On Behalf Of Gunnar
> > Morling
> > Sent: 14 January 2020 21:43
> > To: JakartaEE Spec Project Leadership discussions
> > <jakartaee-spec-project-leads@xxxxxxxxxxx>
> > Subject: [jakartaee-spec-project-leads] XML namespace under Jakarta
> >
> > All,
> >
> > Is there already an agreed on shared namespace prefix for XML descriptors
> > of the different specs?
> >
> > E.g. in Bean Validation we have
> > http://xmlns.jcp.org/xml/ns/validation/configuration and
> > http://xmlns.jcp.org/xml/ns/validation/mapping; is there any pattern to
> > adopt for Jakarta EE 9?
> >
> > If there's none yet, something like
> > https://xmlns.jakarta.ee/xml/ns/validation/configuration might be a first
> > idea? Or rather something that doesn't indicate an actually resolveable
> > URL?
> >
> > Thanks,
> >
> > --Gunnar
> >
> > _______________________________________________
> > jakartaee-spec-project-leads mailing list
> > jakartaee-spec-project-leads@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
> > _______________________________________________
> > jakartaee-spec-project-leads mailing list
> > jakartaee-spec-project-leads@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
> >
> _______________________________________________
> jakartaee-spec-project-leads mailing list
> jakartaee-spec-project-leads@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads



Back to the top