From mlang at delysid.org Sun Feb 7 05:49:02 2016 From: mlang at delysid.org (Mario Lang) Date: Sun Feb 7 05:49:07 2016 Subject: [xsd-users] MEI XSD schema errors Message-ID: <87k2mg23tt.fsf@fx.delysid.org> Hi. I am seeing many errors like this in the mei-all.xsd schema file from github.com/music-encoding/music-encoding (subdir schemata, mei-all.xsd): xsdcxx cxx-tree mei-all.xsd mei-all.xsd:33:42: error: global type 'simpleType:Boolean.datatype' declared more than once or also declared as complexType ... I don't see where this might be coming from, except, that the name has capitalisation. I am very new to this schema, so the problem could be *anything*. But I still wonder, I am getting this for almost *every* simpleType... Any hints what might be going wrong here? -- CYa, ????? From bhargav06513 at gmail.com Thu Feb 18 03:57:21 2016 From: bhargav06513 at gmail.com (Bhargav ManneMuddu) Date: Thu Feb 18 08:37:37 2016 Subject: [xsd-users] usage of xsd Message-ID: Hi, I am trying to use xsd for parsing the general structure into xml payload and parse that with TCP. Here i am unable to understand with the concept of serialization how i can get this to be done. can u provide some examples to uderstand this concept Regards, Bhargav.M From christian.jorgensen at patria.fi Thu Feb 25 03:59:59 2016 From: christian.jorgensen at patria.fi (=?iso-8859-1?Q?Christian_J=F6rgensen?=) Date: Thu Feb 25 08:55:05 2016 Subject: [xsd-users] Whitespace characters in local schema file location Message-ID: I can't seem to get the schema load to work if I specify a local schema file to xml_schema::Properties let's say like this: props.schema_location(http://www.schemawebloc/schemafile, "file:///c:/Program Files/ProgramName/schema.xsd"). I also tried the same with quotes in the file path but this does not work either. It seems that the white space is not handled correctly by the loader. regards, Christian Jorgensen From boris at codesynthesis.com Thu Feb 25 09:13:47 2016 From: boris at codesynthesis.com (Boris Kolpackov) Date: Thu Feb 25 09:13:51 2016 Subject: [xsd-users] Whitespace characters in local schema file location In-Reply-To: References: Message-ID: Hi Christian, Christian J?rgensen writes: > I can't seem to get the schema load to work if I specify a local schema file > to xml_schema::Properties let's say like this: > > props.schema_location(http://www.schemawebloc/schemafile, > "file:///c:/Program Files/ProgramName/schema.xsd"). > > I also tried the same with quotes in the file path but this does not > work either. Have you tried to url-encode the space? "file:///c:/Program%20Files/ProgramName/schema.xsd" Boris From christian.jorgensen at patria.fi Fri Feb 26 01:10:43 2016 From: christian.jorgensen at patria.fi (=?iso-8859-1?Q?Christian_J=F6rgensen?=) Date: Fri Feb 26 01:10:51 2016 Subject: [xsd-users] Whitespace characters in local schema file location In-Reply-To: References: Message-ID: Ah... yep this worked. This solution didn't cross my mind. Thank you!! regards, Christian -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: 25. helmikuuta 2016 16:14 To: Christian J?rgensen Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] Whitespace characters in local schema file location Hi Christian, Christian J?rgensen writes: > I can't seem to get the schema load to work if I specify a local > schema file to xml_schema::Properties let's say like this: > > props.schema_location(http://www.schemawebloc/schemafile, > "file:///c:/Program Files/ProgramName/schema.xsd"). > > I also tried the same with quotes in the file path but this does not > work either. Have you tried to url-encode the space? "file:///c:/Program%20Files/ProgramName/schema.xsd" Boris