Skip to content
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

Automatic XmlNamespacePrefix for extension projects #1777

Open
PathogenDavid opened this issue May 6, 2024 · 0 comments
Open

Automatic XmlNamespacePrefix for extension projects #1777

PathogenDavid opened this issue May 6, 2024 · 0 comments
Labels
proposal Request for a new feature
Milestone

Comments

@PathogenDavid
Copy link
Member

PathogenDavid commented May 6, 2024

(This issue fell out of today's DCM)

We should consider either adding a XmlNamespacePrefix to the script extension template or injecting a default one when none is present.

We also need to fix XmlNamespacePrefix for types which have no namespace. (Perhaps with an overload which omits the namespace parameter.)

We also discussed whether maybe instead of generating p1 etc namespace prefixes for unlabeled namespaces we should use the full namespace name. One concern with this is it bloats the XML with repeated namespace names. (@glopesdev Was this concern for bloating the file size or just making it annoying to manually inspect the XML?)

Something we didn't talk about: Maybe instead of generating p1 etc namespaces, could we use a hash of the namespace name instead?

@PathogenDavid PathogenDavid changed the title Automatic XmlNamespacePrefix for extension project Automatic XmlNamespacePrefix for extension projects May 6, 2024
@glopesdev glopesdev added the proposal Request for a new feature label May 11, 2024
@glopesdev glopesdev added this to the 2.9 milestone Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants