Re: [xml] Tool to help fill in structures from XML

2007-01-24 Thread Pete Cordell
h mapped the XML entities into the structure (and > vis-versa) - ideally some XML file which, when chewed upon by the proper > tool, would spit out C++ code and a RelaxNG schema. > > Does anybody know of such a tool? -- = Pete Cordell Tech-K

Re: [xml] xmlSchemaValidateDoc

2007-02-13 Thread Pete Cordell
ma-Eric-Van-Vlist/dp/0596002521/ Although, some reviewers seem to think it's not the best text to start with. HTH, Pete. -- = Pete Cordell Tech-Know-War

Re: [xml] XMLSchema status?

2007-02-20 Thread Pete Cordell
y. In other words, some missing features may not actually be a problem for you. (But then again, they may be!) HTH, Pete. -- ========= Pete Cordell Tech-Know-Ware Ltd for XML to C++ data binding visit http://www.tech-know-ware.co

Re: [xml] "all" group limitation in schema?

2007-02-24 Thread Pete Cordell
gt; > > > > > > > > > > I think the model group itself is fine. What the error is saying is you can't have: (i.e. XML schema does not allow xs:all to be a particle.) Instead you can do:

Re: [xml] Regexp Failure

2007-12-05 Thread Pete Cordell
Interesting I've found that flipping the order around of the expressions makes it work. i.e. when I move the 1?... part to be the last | expression the pattern matches OK!: ((2[0-4][0-9]|25[0-5]|1?[0-9]{1,2})\.){3}(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]) I hope that gives some insight into

Re: [xml] General XML Schema question

2007-12-21 Thread Pete Cordell
ribute (but not an element) can specify constraints on the type of a child element. This work is a way off yet, so I wouldn't wait for it! HTH, Pete Cordell Codalogic Visit http://www.codalogic.com/lmx/ for XML Schema to C++ data binding - Original Message - From: "Stefan Schulze F

Re: [xml] Ambiguity regarding schema content and schema validation

2008-01-05 Thread Pete Cordell
targetNamespace attributes the same (probably xmlns:tns="http://abc.com";). Even if 1.xsd were valid, I'm not sure why either 2.xml or 3.xml might pass validation as there should be a minimum requirement for two b elements. HTH, Pete Cordell Codalogic Visit http://www.codalogic.com/lmx/ f

Re: [xml] Newline handling

2008-05-20 Thread Pete Cordell
XML context these days. c.f. http://en.wikipedia.org/wiki/Uuencode and http://en.wikipedia.org/wiki/Base64. HTH, Pete Cordell Codalogic For XML C++ data binding visit http://www.codalogic.com/lmx/ ___ xml mailing list, project page http://xm

Re: [xml] raw data

2008-06-11 Thread Pete Cordell
nt or attribute content. HTH, Pete Cordell Codalogic For XML C++ data binding visit http://www.codalogic.com/lmx/ ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] How to bind multiple IP?

2009-07-28 Thread Pete Cordell
. HTH a bit! Pete Cordell Codalogic Ltd Interface XML to C++ the easy way using XML C++ data binding to convert XSD schemas to C++ classes. Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com for more info - Original Message - From: "Brian Kim" <09su.resea...@g

[xml] RegEx Regression Tests

2009-09-11 Thread Pete Cordell
I'm looking at the regular expression regression tests. In the likes of test\regexp\ranges, how do you know which inputs should match the patterns, and which shouldn't? Many thanks, Pete. -- = Pete Cordell Codalogic Ltd Interface XML to C+

Re: [xml] xmllint reports non-determinist content model for schema

2012-02-24 Thread Pete Cordell
FWIW, the schema looks OK to me and neither Visual Studio or the W3C's XSV seem to report an error, so it does look like a libxml2 bug. And I can't think of another way of expressing what you want that isn't truly non-deterministic. HTH a bit! Pete Cordell Codalogic Ltd Int

Re: [xml] xmllint reports non-determinist content model for schema

2012-02-27 Thread Pete Cordell
accounts Trang should be able to give you a start at converting your XSD to Relax NG if your schema is non-trivial. HTH, Pete Cordell Codalogic Ltd Interface XML to C++ the easy way using C++ XML data binding to convert XSD schemas to C++ classes. Visit http://codalogic.com/lmx/ or http://www.

[xml] Additional regexp test files

2016-04-15 Thread Pete Cordell
-- =>\d{8}T\d{6}\.?\d{0,6} # This gives incorrect result 20160412T112319 # These give correct result 20160412T112319. 20160412T112319.43 20160412T112319.432312 Thanks, Pete. -- ----- Pete Cordell Codalogic Ltd C++ tools

Re: [xml] Additional regexp test files

2016-04-19 Thread Pete Cordell
.){2}2 #fails 24.24.2 If it would help to have these in the form of a Git patch or some other format let me know. Thanks, Pete. -- --------- Pete Cordell Codalogic Ltd Read & write XM

Re: [xml] Availability of libxml2-2.9.4 release candidate 2 - regexp

2016-05-09 Thread Pete Cordell
Thanks Daniel. I've managed to verify that the ab?c{0,1} pattern now works. But the following pattern still appears to fail: =>((2{1,2}|24)\.){2}2 #fails 24.24.2 Also, I see you haven't had a chance to put the test vectors in the test/regexp dir. If you let me know what form you'd like them

Re: [xml] Availability of libxml2-2.9.4 release candidate 2 - regexp

2016-05-09 Thread Pete Cordell
On 09/05/2016 10:26, Daniel Veillard wrote: Hi Pete, On Mon, May 09, 2016 at 10:02:28AM +0100, Pete Cordell wrote: Thanks Daniel. I've managed to verify that the ab?c{0,1} pattern now works. But the following pattern still appears to fail: =>((2{1,2}|24)\.){2}2 #fails 24.24.2

Re: [xml] Availability of libxml2-2.9.4 release candidate 2 - regexp

2016-05-09 Thread Pete Cordell
On 09/05/2016 13:55, Daniel Veillard wrote: On Mon, May 09, 2016 at 11:35:28AM +0100, Pete Cordell wrote: On 09/05/2016 10:26, Daniel Veillard wrote: Is this OK? I used git format-patch. I'm new to submitting diffs! If you want another format let me know. Yup, just add it as an attac

Re: [xml] Availability of libxml2-2.9.4

2016-05-23 Thread Pete Cordell
to send it again? Pete Cordell ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml

Re: [xml] Making sequence entries option in .xsd files.

2016-06-08 Thread Pete Cordell
), then the value returned by your processor should be "true", not the empty string. Attributes behave more as you'd expect, but probably still need to be marked 'optional'. Hope that helps, Pete Cordell Codalogic Ltd Read & write XML in C++, http://www.xm