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

Namespaces.XmlNamespace meaning #85

Closed
mpostol opened this issue Jun 28, 2021 · 3 comments
Closed

Namespaces.XmlNamespace meaning #85

mpostol opened this issue Jun 28, 2021 · 3 comments
Labels

Comments

@mpostol
Copy link
Contributor

mpostol commented Jun 28, 2021

I am trying to reuse partially the valuable outcome from this repository, e.g. mpostol/ASMD. My concern is what is the meaning of the Namespaces.XmlNamespac.

  1. Is there someone using this element?
  2. What is the difference between the Namespaces.XmlNamespac attribute and Namespaces value?
  3. Is it used in any tool? Are there any best practice rules?
  4. Is it useful in the model definition?
  5. Is it useful for models (Namespaces internal elements) depended on?
  6. Is there any description that may be referred to?
@mpostol
Copy link
Contributor Author

mpostol commented Jun 29, 2021

In the schema definition of the ModelDesign there is documentation partially answering this question (reformated and fixed some typos):

  • Namespace - Defines a single namespace along with identifiers for the namespace
  • Name - A symbolic name for the namespace that can be used as a variable name. The Name is used to create a program constant for the URL.
  • Prefix - The .NET namespace used for the classes produced by the generator. The Prefix is the C# namespace that qualifies the generated types.
  • InternalPrefix - The .NET namespace used for classes that are only used within a server application. The InternalPrefix is an optional C# namespace that qualifies the generated types used only by the server.
  • XmlNamespace - The URI for the XML namespace to which the data types belong if it is different from the URI for the model namespace.
  • XmlPrefix - The prefix to be used in the XML file for the XML namespace to which the data types belong. Used only XmlNamespace is set.
  • FilePath - The path to the file containing the design file for the namespace.
  • Version - no description
  • PublicationDate - no description

@opcfoundation-org
Copy link
Contributor

Version and PublicationDate are defined here:
https://reference.opcfoundation.org/Core/docs/Part6/F.2/

@mpostol
Copy link
Contributor Author

mpostol commented Sep 1, 2021

According to the repository rules all feedback is applied to a private repository, hence I am no longer a willing helper to contribute to further development of the code. I am transferring this issue to my public fork mpostol#8 where the modification will be applied directly and available for the public immediately. Further questions and proposals - you may have - should be provided using the discussion panel of the fork or by adding comments to the mentioned issue. Let's work out it with you and for you.

Cloe it with wontfix reason.

@mpostol mpostol closed this as completed Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants