-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Formal spec says virtually nothing about the Xml Schema pattern for scaledNonNegativeInteger. The schema has this pattern: [+]?(0x|0X|#)?[0-9a-fA-F]+[kmgtKMGT]? but says nothing about the format.
- Are there any limitations on the length of the
[0-9a-fA-F]+- As expressed in the schema it is infinite, which seems a tad on the absurd side of things, but the spec doesn't define ANY limits.
- What are the meanings of the suffix values?
- One can generally assume they are a "scale" factor but what is the scale value? (1000 or 1024?)
- Are they case insensitive?
- That is, are the upper and lower case forms aliases or do they indicate a distinct scale value?
- Is there any tool that VALIDATES an SVD file against the provided schema?
- It seems that's not currently available as SVDConv doesn't contain any reference to the schema I can see.
- This means that SDVConv is the defacto standard, and the XML schem is merely a reference that doesn't reflect reality and cannot be used to
- Validate an SVD file
- Generate code to parse/interpret an SVD file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels