I hope this is not a dumb question, but I keep reading that when an instance is validated against a Relax NG schema, there's no need to use a DOCTYPE...
... You still need a DOCTYPE if you use entities or if you want default attribute values. RELAX NG doesn't provide either of those for you. (RNG has a way to...
The interest in microformats (architectural forms by any other name for you old timers) got me thinking about RNG validation of these embedded vocabularies. ...
... Yes, there is no restriction at that level, but note that if you write something such as : element div { ( attribute class { "foo" }, content1) | ( ...
... Sure: normal.div = element div { attribute class { string - "vevent"}, ... } BTW, the way to extend this to more than one special case is obvious in...
Thank you to both Eric & John for those quick[1], helpful replies confirming my suspicions. Note ... [1] Eric had replied, John had replied, and Eric had...
html has an img element, the height attribute can be either 128 or 60% How do I specify this in rng please? <attribute name="height"> <choice> <data...
Hi Dave, ... No, you can't write : <group> <data type="positiveInteger"/> <value>%</value> </group> Each of the "data" or "value" patterns takes a text node...
Hi Eric, ... This is an issue that we'd have liked to be able to address in the SVG RNG. A long while ago I recall something going by the name of "Regular ...
Hi Robin, ... This is still work in progress for the ISO DSDL project, but not in the same "part" :-) ... A looong time ago (3 years), I did a proposal for...
... Each must be 'complete' in itself? Is that it? I.e. there is no combination or sequence allowed? ... Not nice is it:-) ... Are you being too fussy Eric? ...
... Two questions please Eric. 1. Has anyone posted a couple of examples of adding their own data type library? I'd like to add it to the faq, if not actually...
... Yes, exactly. The only combination allowed between data and values (outside a list) is through choice: you can't group (or interleave) them. There would be...
... Exactly. The reason for this is that the interface between an RNG validator and its datatype libraries is deliberately dumbed down. A validator can, in...
... I don't think so... Examples that are often mentioned and come to my mind are things such as this value/unit example, dates from the Gregorian calendar in...
... And 1.5) Is this string a valid instance of you given these parameters. ... Yes, that'd be another language. The good thing about simple dumb interfaces is...
... This is strange. There is O-membership in ISO that does require nothing from national bodies so there are no expenses that must be covered from national...
Jirka Kosek
jirka@...
Sep 12, 2005 6:12 pm
237
... Yes. A parameterized version of a type is still a type: integer {minInclusive = "1", maxInclusive = "100"} is just as much of a type as double. -- Real...
... Hmmm... I had read your previous post assuming that you were only speaking of "predefined" types. If by "type" you mean both "parameterized" and predefined...
... You're right. The Datatype Library interface, however, does permit it. So for purely RNG purposes we can say that the only two things permitted are to ask...
... Yes, that's probably an old example... Eric ... -- Le premier annuaire des apiculteurs 100% XML! http://apiculteurs.info/ ... Eric van der Vlist...
... 1. Eric showed the weakness of that for development. 2. I wanted to try the library extension.... which seems not to be working. I have public class px...
... I suspect you have a classpath problem: if you are running jing with -jar, then there is no classpath except jing.jar; not even the current directory is...
Hi John. ... No, I'm running it using the driver class as noted in the docs. I'm unsure as to whether I have enough matches though. 1. Met with a value in the...
Well, I have a working example. Notes below. TOPIC: Datatype libraries in Relax NG DATE:2005-09-14T10:45:38 KEYWORDS:datatypes * Using Relax NG with extension...