I want to write a schema, which if it were code, would be gpl (whichever version) Any suggestions as to which licence I should be using please? TIA -- Dave...
1368
Syd Bauman
syd_bauman
Aug 11, 2011 1:29 pm
... While I don't claim to be an expert, lately I've found myself gravitating towards the Creative Commons for licenses of most everything I do (schemas,...
1369
Piotr BaĆski
bansp
Aug 11, 2011 1:57 pm
Hi Syd and All, ... I don't know of any established practice for licensing XML instances (which can come in so many varieties and have so many uses that it's ...
1370
John Cowan
johnwcowan
Aug 11, 2011 2:40 pm
... I'd say go ahead and use the GPL. Although there is no source/object dichotomy here, that's equally true of code in many languages, like Perl. -- MEET US...
1371
Dave Pawson
dpawson2000
Aug 11, 2011 2:43 pm
... Thanks Jon et al. I think GPL (2 still?) has it, due to the concerns mentioned regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. ...
1372
tara_athan
Oct 1, 2011 5:07 am
I am trying to implement Jing with Java Webstart, so we can publish a web service with full access to the command line options of Jing. When Jing resolves uris...
1373
George Cristian Bina
george_bina
Oct 3, 2011 12:46 pm
Hi Tara, We signed Jing (as well as other libraries) when we included it in the Java Web Start distribution of oXygen and also in the sample oXygen Author...
1374
Tara Athan
taraathan
Oct 3, 2011 7:30 pm
George - I checked in the Java Web Start distribution - the signed jar that contains jing, oxygen_lib.zip.jar, does as you say contain quite a few other...
1375
Norman Walsh
normwalsh
Oct 25, 2011 10:58 am
Hello world, This bit of RNC: db._any.attribute = [ db:refpurpose [ "Any attribute, including any attribute in any namespace." ] ] attribute * { text } becomes...
1376
Jirka Kosek
jirka@...
Oct 25, 2011 11:29 am
... Almost all patterns can be *interleaved* with foreign content, so this shouldn't be problem: <define name="open-patterns"> <interleave> <ref name="other"/>...
1377
Norman Walsh
normwalsh
Oct 25, 2011 12:25 pm
... [...] ... I don't think so. This RNC schema: start = doc doc = element doc { any.attribute, text } any.attribute = [ refpurpose [ "Any attribute, including...
1378
George Cristian Bina
george_bina
Oct 25, 2011 1:19 pm
Hi Norm, From my tests that grammar is valid against relaxng.rng. Do you get a validation error when trying to validate that against relaxng.rng? Best Regards,...
1379
David Sewell
david_sewell
Oct 25, 2011 4:57 pm
Syd Bauman and I recently came across what at first appeared to be a bug in Relax NG validation, but which we decided may in fact be a consequence of the ...
1380
Norman Walsh
normwalsh
Oct 25, 2011 5:22 pm
... Yes: $ jing -c /share/emacs/site-lisp/nxml-mode/schema/relaxng.rnc /tmp/out.rng /tmp/out.rng:19:28: error: element "refpurpose" not allowed yet; expected...
1381
John Cowan
johnwcowan
Oct 25, 2011 5:37 pm
... It is indeed a consequence of the specification. ... It is a rule of RNG validation that whitespace-only text nodes are ignored next to element patterns....
1382
David Sewell
david_sewell
Oct 25, 2011 5:53 pm
So... if I want the RELAX NG equivalent of an empty element in a DTD <!ELEMENT null EMPTY> some experimentation shows that <element name="null"> <data...
1383
John Cowan
johnwcowan
Oct 25, 2011 5:59 pm
... Indeed, the string (or the equivalent xsd:string) datatype is your only resource if you want to enforce the absence or presence of whitespace. I suppose...
1384
George Cristian Bina
george_bina
Oct 25, 2011 6:16 pm
That may be possible. My copy of relaxng.rng defines the open-name-class as below so it allows foreign elements: <define name="open-name-class"> <interleave> ...
1385
r.khondoker
Nov 4, 2011 10:40 am
Hi all, I have a question regarding pros and cons of RNG and XML schema. I have found the comparison in the following website http://www.xml.com/lpt/a/884 I...
1386
fede_gbr
Nov 4, 2011 10:41 am
hi, i'm a new user. is possible in relax ng write something like this (Schematron): <rule context='E'> <report test='(@one) or not(@one and @two)'> E cannot...
1387
G. Ken Holman
g_ken_holman
Nov 4, 2011 11:10 am
... Is that "if two is specified?" or strictly "if two has a value?". I use this often: ( attribute two { text }, attribute one { text }? )?, .... such that...
1388
Syd Bauman
syd_bauman
Nov 4, 2011 11:34 am
There are some interesting issues and an occasional serious confusion, here, but I have to type pretty quickly ... 1. Correct, neither XSD nor RNG support...
1389
G. Ken Holman
g_ken_holman
Nov 4, 2011 11:36 am
... RNG has richer structure options than XSD, two examples of which are co-occurrence constraints and interleave. In fact RNG is so much more expressive than...
1390
Norm Birkett
normanbirkett
Nov 4, 2011 2:14 pm
I'm new to all of these languages, but in my brief explorations of how I can validate a particular family of fairly complex XML languages, I have found that: ...
1391
John Madden
john.madden58
Nov 4, 2011 5:59 pm
Another area where RNG excels, compared with XSD, is in support for modular and extensible schema development. XSD has complex namespace-handling that (to me)...
1392
Sebastian Rahtz
sebastianrahtz
Nov 4, 2011 9:44 pm
... +1 getting multiple XML schemas is a real pain, having to keep an xml.xsd around just to provide xml:id drives me crazy.... -- Stormageddon Rahtz Head of...
1393
John Cowan
johnwcowan
Nov 4, 2011 11:58 pm
... Indeed, which is why $EMPLOYER's schema development group (to which I belong, although I am currently working on ontologies) develops in RNG and delivers ...
1394
Dave Pawson
dpawson2000
Nov 8, 2011 3:41 pm
Given a DTD with many defaulted attributes, how might they be handled in RNG please? TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk...
1395
G. Ken Holman
g_ken_holman
Nov 8, 2011 3:47 pm
... I don't understand your question the way it is worded. A RELAX-NG schema defines *constraints* on an XML instance ... it does not supply information to an...
1396
Dave Pawson
dpawson2000
Nov 8, 2011 4:06 pm
Sorry if I wasn't clear Ken. ... Given a DTD with default attribute values, how might this be processed/ worked in an RNG environment? ... See above. Sounds...