Comments (2)
Also, the main purpose of xs:ID
type is to ensure a unique identifier for every XML element of that type. However, since the maxOccurs
attr is not defined for the RunType
, there can be only 1 run
element per mzML, making the unique identifier unnecessary.
RunType
definition in mzML1.1.0.xsd (where the maxOccurs
is to be specified):
<xs:sequence>
...
<xs:element name="run" type="dx:RunType" />
</xs:sequence>
from https://www.w3.org/TR/xmlschema-0/:
The default value for both the minOccurs and the maxOccurs attributes is 1.
Another reason why xs:ID
might be needed is to have a target for IDREF
or IDREFS
attributes. However, I couldn't find any element that targets the ID of the run
.
Thus, it appears that xs:ID
may be safely replaced with xs:string
. Note that switching the type to string will require adding a regexp to ensure the id
doesn't contain any whitespaces.
from mzml.
Closing since addressed in PR #9
from mzml.
Related Issues (9)
- Moving CV ontologies to another repo HOT 1
- [mzML] sourceFileList: count=0` is valid, but violates `minOccurs="1" HOT 3
- mzML validator HOT 4
- Fix mzML idx schema links at psidev.info HOT 4
- Validation error in mzML with Thermo RAW with UV/PDA data from Orbitrap Elite
- List of mzML parsers in different programming languages HOT 3
- Mapping for the ion mobility terms HOT 4
- No example files since version 1.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mzml.