schemas's People
schemas's Issues
Check privacy.xsd and iq-privacy.xsd
Those two XSDs define same elements in exactly the same namespace.
Fix prematually closed attribute
It seems that an xs:attribute
prematurely closed itself.
See
https://github.com/xsf/schemas/blob/master/jingle-apps-dtls.xsd#L21-L35
AS-IS
<xs:attribute name='setup' use='required'/> <!-- shouldn't close itself -->
<xs:simpleType>
<xs:restriction base='xs:NCName'>
<xs:enumeration value='active'/>
<xs:enumeration value='passive'/>
<xs:enumeration value='actpass'/>
<xs:enumeration value='holdconn'/>
<xs:annotation>
<xs:documentation>
the 'holdconn' value is not used and included only for completeness.
</xs:documentation>
</xs:annotation>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
TO-BE
<xs:attribute name='setup' use='required'>
<xs:simpleType>
<xs:restriction base='xs:NCName'>
<xs:enumeration value='active'/>
<xs:enumeration value='passive'/>
<xs:enumeration value='actpass'/>
<xs:enumeration value='holdconn'/>
<xs:annotation>
<xs:documentation>
the 'holdconn' value is not used and included only for completeness.
</xs:documentation>
</xs:annotation>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Schemas section is not updated
Pull up annotation in restirction
It seems that xs:annotation
should be the first element in xs:restriction
.
<restriction
base = QName
id = ID
{any attributes with non-schema namespace . . .}>
Content: (annotation?, (simpleType?, (minExclusive | minInclusive | maxExclusive | maxInclusive | totalDigits | fractionDigits | length | minLength | maxLength | enumeration | whiteSpace | pattern | assertion | explicitTimezone | {any with namespace: ##other})*))
</restriction>
https://github.com/xsf/schemas/blob/master/jingle-apps-dtls.xsd#L28-L32
Use https in schemaLocations
Some tools can't fetch the URLs.
Is this repo active anyway?
Add the empty simpleType into XSDs
It seems these two XSDs suffered from the missing empty
type.
diff --git a/jingle-apps-rtp-rtcp-fb.xsd b/jingle-apps-rtp-rtcp-fb.xsd
index 6682a10..b46a2c2 100644
--- a/jingle-apps-rtp-rtcp-fb.xsd
+++ b/jingle-apps-rtp-rtcp-fb.xsd
@@ -43,4 +43,10 @@
</xs:simpleContent>
</xs:complexType>
+ <xs:simpleType name='empty'>
+ <xs:restriction base='xs:string'>
+ <xs:enumeration value=''/>
+ </xs:restriction>
+ </xs:simpleType>
+
</xs:schema>
diff --git a/jingle-apps-rtp-rtp-hdrext.xsd b/jingle-apps-rtp-rtp-hdrext.xsd
index 9b7a761..53c122f 100644
--- a/jingle-apps-rtp-rtp-hdrext.xsd
+++ b/jingle-apps-rtp-rtp-hdrext.xsd
@@ -45,4 +45,10 @@
</xs:simpleContent>
</xs:complexType>
+ <xs:simpleType name='empty'>
+ <xs:restriction base='xs:string'>
+ <xs:enumeration value=''/>
+ </xs:restriction>
+ </xs:simpleType>
+
</xs:schema>
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.