Fellow RELAX-NG list members, I've been having a hassle declaring attributes of type xsd:ID and name "xml:id" in one area of my schema, and having wildcards in...
1203
John Cowan
johnwcowan
Jul 4, 2010 4:59 am
... This is a standard problem. Jing ID validation, unlike normal RELAX NG validation, uses context-free DTD-style rules: that is, the ID-type of an attribute...
1204
G. Ken Holman
g_ken_holman
Jul 4, 2010 1:14 pm
Thank you John ... I'm relieved to hear it is a tool problem and not a specification problem. I was poring over the spec trying to figure out what I was...
1205
MURATA Makoto (FAMILY...
mktmurata
Jul 4, 2010 3:17 pm
... Actually, this is a spec problem. John pointed out that the -i switch can suppress identity constraint checking in Jing. WG1 is writing "RELAX NG Best...
1206
John Cowan
johnwcowan
Jul 4, 2010 4:00 pm
... Well, technically it is a spec problem, but the spec isn't the RELAX NG spec, it's the RELAX NG DTD Compatibility spec ...
1207
Olivier Ishacian
olivierishacian
Jul 7, 2010 7:31 am
XMLmind is happy to announce the release of XMLmind Document Repository v1.1. XMLmind Document Repository, which is Open Source software, can be freely...
1208
Norman Walsh
normwalsh
Jul 12, 2010 5:14 am
Hello world, I want to add an element to the existing DocBook RNG schema which has as its content model "text or any valid DocBook element". I don't want "any...
1209
John Cowan
johnwcowan
Jul 12, 2010 5:19 am
... Not much you can do except create a allValid pattern which is a choice of every valid element, enumerated by hand. -- Time alone is real...
1210
Sebastian Rahtz
sebastianrahtz
Jul 12, 2010 9:09 am
... I think you have to make that enumeration, sorry. I have been fighting these "any element" patterns for years in the TEI world for various reason (probably...
1211
Norman Walsh
normwalsh
Jul 12, 2010 2:36 pm
Sebastian Rahtz <sebastian.rahtz@...> writes: [...] ... Ok. Can do, I guess. Thanks! Be seeing you, norm -- Norman Walsh <ndw@...> | Any...
1213
Bjoern Hoehrmann
hoermi
Jul 23, 2010 3:20 pm
... Yes, `<` among other things. However, note that your data type library might not support zero-width negative look-behind assertions, so that might not...
1214
Shaun McCance
shaunm@...
Jul 24, 2010 6:56 pm
I'm trying to create a set of extensible schemas with RELAX NG. Thanks to things like combine definitions, most of this is beautifully simple. But I'm having ...
1215
Jirka Kosek
jirka@...
Jul 24, 2010 7:48 pm
... You have hit known limitation of RELAX NG. This limitation of name classes will be relaxed in RELAX NG 2.0 and you will be able to combine them as any...
1217
Philip Crotwell
philipcrotwell
Aug 17, 2010 10:48 pm
Hi I have a relatively complicated relaxng schema, about 8800 lines. In order to make it easier to maintain and to add a little organization, we split it into...
1218
James Clark
james_j_clark
Aug 18, 2010 3:59 am
It sounds like a bug to me if -s is making things an order of magnitude faster. Can you please file an issue at ...
1219
Philip Crotwell
philipcrotwell
Aug 18, 2010 11:42 am
Hi Entered as http://code.google.com/p/jing-trang/issues/detail?id=118 Here are the validation and simplification times: $ time java -Xmx512m -jar...
1220
Dave Pawson
dpawson2000
Aug 19, 2010 1:56 pm
Norm has just given us another update to the Docbook rng schema. He has added comments to detail it's version, copyright etc. Is there advantage in allowing...
1221
Nic Gibson
nic.corbas
Aug 26, 2010 8:53 am
Morning I've just realised that I have no idea how to express a particular requirement. I have an element, call it 'nutrition39; which must not be empty but can...
1222
Dave Pawson
dpawson2000
Aug 26, 2010 8:57 am
... rephrasing your words element nutrition choice element energy element fat ... /choice /element I think that does it Nic? HTH -- Dave Pawson XSLT XSL-FO...
1223
Nic Gibson
nic.corbas
Aug 26, 2010 9:35 am
... Hi Dave That was my starting point but I don't think it does the job. It certainly requires that the element is non-empty but it doesn't allow instances...
1224
Dave Pawson
dpawson2000
Aug 26, 2010 9:47 am
... At most one each is the phrase that I tripped on. How about at least one, and may have one of the remainder of the group? recurse! I think you want the...
1225
Nic Gibson
nic.corbas
Aug 26, 2010 10:00 am
... My usual approach here is to work out how I would represent it using a DTD and then rewrite it in RelaxNG. Only problem is that I can't see how to...
1226
James Clark
james_j_clark
Aug 26, 2010 10:02 am
I think something like this should work: nutrition = element nutrition { (energy & fat? & carbs? & fibre?) ... } It would be easier if RELAX NG had a more...
1227
Nic Gibson
nic.corbas
Aug 26, 2010 10:06 am
... Ahhhhh. It will. Thankfully, there are only a few child elements possible. Thank you James. And it removes the need for a schematron rule which will make...
1228
Dave Pawson
dpawson2000
Aug 26, 2010 10:16 am
... Why 'difference39; please James? I can see how it would reduce the tedium... just the name? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. ...
1229
James Clark
james_j_clark
Aug 26, 2010 10:48 am
Don't understand the question. I was using the term "difference operator" to refer to the "-" operator in RELAX NG Compact syntax....
1230
Dave Pawson
dpawson2000
Aug 26, 2010 10:56 am
... OK, thanks. so that would read as items from this set, but not empty. Just what Nic wanted. I hadn't related it to the compact syntax (I use the xml syntax...
1231
Leigh L Klotz Jr
leighklotz
Aug 27, 2010 12:45 am
In this case you can use domain knowledge and De Morgan to reduce the combinations, which may also provide useful semantic information. For example, if you add...
1232
Dave Pawson
dpawson2000
Aug 27, 2010 7:06 am
... I'm personally more interested in James idea about extending rng to add his use case? MURATA Makoto has stated he's reluctant to update the ISO spec 'so...
1233
Nic Gibson
nic.corbas
Aug 27, 2010 11:32 am
... Hmm. That's a good point. I will need to go and read a fairly large number of recipe books (I'm updating a cookbook schema) to check though. cheers nic ......