They do not validate with oxygen xml ( or the xmlbeans command line tools)

Example:

Streams.xsd



SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 50:25
Description: src-resolve.4.2: Error resolving component 'xml:lang'. It was 
detected that 'xml:lang' is in namespace 
'http://www.w3.org/XML/1998/namespace', but components from this namespace are 
not referenceable from schema document 
'file:/C:/xmpp/xsd/06182012/streams.xsd'. If this is the incorrect namespace, 
perhaps the prefix of 'xml:lang' needs to be changed. If this is the correct 
namespace, then an appropriate 'import' tag should be added to 
'file:/C:/xmpp/xsd/06182012/streams.xsd'.
URL: http://www.w3.org/TR/xmlschema-1/#src-resolve

SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 50:8
Description: s4s-elt-invalid-content.1: The content of '#AnonType_stream' is 
invalid.  Element 'attribute' is invalid, misplaced, or occurs too often.

SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 69:25
Description: src-resolve: Cannot resolve the name 'err:streamErrorGroup' to 
a(n) 'group' component.
URL: http://www.w3.org/TR/xmlschema-1/#src-resolve

SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 34:29
Description: src-resolve: Cannot resolve the name 'client:message' to a(n) 
'element declaration' component.
URL: http://www.w3.org/TR/xmlschema-1/#src-resolve

SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 39:29
Description: src-resolve: Cannot resolve the name 'server:message' to a(n) 
'element declaration' component.
URL: http://www.w3.org/TR/xmlschema-1/#src-resolve


-----Original Message-----
From: Peter Saint-Andre [mailto:[email protected]] 
Sent: Monday, June 18, 2012 2:54 PM
To: Jabber/XMPP software development list
Cc: Ralph Carlson
Subject: Re: [jdev] xsd's that don't validate

On 6/18/12 12:32 PM, Ralph Carlson wrote:
> The following xsd’s  ,  of the 111   at
>   http://xmpp.org/resources/schemas/ do not validate. 

Do not validate using what tool? Do you have output regarding validation errors?

> Is this as
> designed? or are the wrong versions hosted here?

They are not the wrong versions. We update them as we receive bug reports.

Peter

--
Peter Saint-Andre
https://stpeter.im/





_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to