You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the word 'prefix' in the issue title to clarify that we are in fact using the standard namespace as the targetNamespace of our batch-related schema definitions, and that you're only suggesting we also use the conventional prefix.
I'm curious if you envision this mattering in any kind of real-world document ? E.g. some XML document that "embeds" both a job definition and other EE stuff.
Or are you just noting the convention which we might as well conform to? In which case, I wonder, can we keep the existing prefixes and add the new conventional one? (I'd guess you can but would have to consult the XML/XSD specs, etc.)
scottkurz
changed the title
Use standard namespace in job.xsd and batch.xsd
Use 'jakartaee' namespace prefix in job.xsd and batch.xsd (the convention used by other Jakarta specs).
Jul 5, 2022
I think this issue is more about documentation and internal impl of the schema. I haven't seen such non-standard prefix show up in any applications, nor any application xml files containing elements from multiple EE component schemas.
https://jakarta.ee/xml/ns/jakartaee/batchXML_2_0.xsd
https://jakarta.ee/xml/ns/jakartaee/jobXML_2_0.xsd
batch xsd uses the non-standard namespace
jbatch
. It should be changed to the standard onejakartaee
:job xsd uses the non-standard namespace
jsl
, and should be changed to the standard onejakartaee
:This is the convention used by other Jakartaee schemas, such as web-app_6_0.xsd:
The text was updated successfully, but these errors were encountered: