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

Element Class Does Not Expose QualifiedName Or SourceUri #59

Open
JeffFerguson opened this issue Feb 17, 2025 · 0 comments
Open

Element Class Does Not Expose QualifiedName Or SourceUri #59

JeffFerguson opened this issue Feb 17, 2025 · 0 comments
Assignees
Labels
enhancement Enhancement request.

Comments

@JeffFerguson
Copy link
Owner

The Element class should expose the following read-only properties for enhanced schema element display information to consumers:

  • SourceUri: The Element class should support a property called SourceUri, which returns the URI of the schema in which the element was defined. This information may differ from the parent schema's LoadPath property, especially if the element was defined in a schema imported with an <import> directive.
  • QualifiedName: Currently, the Element class supports a property called Name, which returns the local name of an element. However, since Name is a string, it does not return the fully-qualified name of the element, which also contains the element's namespace information. In addition to the Name property, which should be retained, the Element class should support a property called QualifiedName, of type QualifiedName. This property will expose both the element's local name and namespace, allowing the name's namespace information to be made available to consumers.
@JeffFerguson JeffFerguson added the enhancement Enhancement request. label Feb 17, 2025
@JeffFerguson JeffFerguson self-assigned this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request.
Projects
None yet
Development

No branches or pull requests

1 participant