[jdev] xsd's that don't validate

Ralph Carlson RACARLSON at mediacomcc.com
Mon Jun 18 20:13:19 UTC 2012


I added a missing ' to streams.xsd , after that I got an error about the two subject elements in jabber-server.xsd (below)
sounds like it might not be a quick fix for me, I can bypass using these for now


SystemID: http://xmpp.org/schemas/jabber-server.xsd
Location: 87:20
Description: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'jabber:server,subject'.
URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct

SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 17:21
Description: cos-nonambig: WC["urn:ietf:params:xml:ns:xmpp-tls"] and WC[##other:"http://etherx.jabber.org/streams"] (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
URL: http://www.w3.org/TR/xmlschema-1/#cos-nonambig

SystemID: C:\xmpp\xsd\06182012\streams.xsd
Location: 68:21
Description: cos-nonambig: "urn:ietf:params:xml:ns:xmpp-streams":text and WC[##other:"http://etherx.jabber.org/streams"] (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
URL: http://www.w3.org/TR/xmlschema-1/#cos-nonambig




-----Original Message-----
From: Peter Saint-Andre [mailto:stpeter at stpeter.im] 
Sent: Monday, June 18, 2012 3:34 PM
To: Jabber/XMPP software development list
Cc: Ralph Carlson
Subject: Re: [jdev] xsd's that don't validate

On 6/18/12 1:16 PM, Peter Saint-Andre wrote:
> On 6/18/12 12:58 PM, Ralph Carlson wrote:
>> They do not validate with oxygen xml ( or the xmlbeans command line 
>> tools)
> 
> It seems that the main problem here is that the validating software 
> can't find the imported namespaces. At the least, adding a 
> schemaLocation would help. I'll fix that up and then ask you to test again.

I fixed a few. Please download the latest and test again.

Thanks!

Peter

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







More information about the JDev mailing list