Open chengfang opened 2 years ago
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.)
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: