James, I am very happy to see that you are back again! One possible extension of Jing is to expose the schema representation to programmers. Kohsuke has made...
... This is great news! Thank you. ... I'm using a patched version of oNVDL for Validator.nu (http://validator.nu/ ). The source is available from a Subversion...
Henri Sivonen
hsivonen@...
Nov 3, 2008 8:23 am
892
... The RELAX NG Datatype Library for HTML5 Datatypes contains a datatype that validates RFC 4646 language tags using IANA registry data. You can see it in...
Henri Sivonen
hsivonen@...
Nov 3, 2008 8:33 am
893
... One more thing: * There's a new schema resolver interface that resolves a URI to a Schema object instead of resolving it to an InputSource. This is used to...
Henri Sivonen
hsivonen@...
Nov 3, 2008 8:43 am
894
... Hmm. Sounds a bit like a PSVI. Would it be sufficient if this works for a RELAX NG schema only if it is sufficiently deterministic that for a document...
... If A, B and C are for different namespaces, then I think the right answer is NVDL. If not, then I would maintain each module as an RNC file that does not ...
... I was going to ask whether there's a spec for this, but Google found it for me: http://hsivonen.iki.fi/html5-datatypes/ It's nice to see people taking...
James, The RELAX NG TC (most notably Jirka) maintained a web page for future requirements. http://wiki.oasis-open.org/relax-ng/FutureRequirements The first...
James, The process you describe for hand-rolling the assembly is very much like the one I sketched out as a two state pipeline but never implemented Having to...
... I'm not sure I see the point of making users write "guard" instead of "include". Presumably "guard" wouldn't be able to contain overrides, or you would...
... Excellent news, James. ... In OASIS RELAX NG TC we put together list of possible features for future version of RELAX NG: ...
Jirka Kosek
jirka@...
Nov 3, 2008 1:46 pm
901
I am not sure if I have made myself clear. "guard" is supposed to work together with "include". "guard" is the combination of #ifndef, #define.and #endif. In...
Hi Henri, Henri Sivonen wrote: [...] ... Some of these are implemented in the latest oNVDL http://onvdl.svn.sourceforge.net/viewvc/onvdl/trunk/ I extracted a...
... Here's my initial feedback. ... If we can agree on a simple way to solve the problem. ... This is something I thought about when I was doing TREX, but I...
... I would hope to be able to recover well enough that messages from the subtree are still useful. ... StringBuilder is a Java 5 thing. Is it going to cause...
... I would have thought Java 5 is pretty well established by now? I know I had fun porting Jing to 5, and I'm not the only one. +1 to stay with 5. regards -- ...
... That would be better, of course. Currently, I have a schema module called legacy.rnc that only for avoiding triggering the subtree supression behavior for...
Henri Sivonen
hsivonen@...
Nov 3, 2008 3:21 pm
908
... +1. Java 5 has been out for four years now. ... You could, but I don't think performance matters much when you are on the error path of the code. You...
... And a good thing too. There is absolutely no reason to publish a variant version of the file, as distinct from keeping a local cache of it. -- John Cowan...
... I think your strategy is correct: attempts to include a given schema, as identified by its retrieval URL, more than once are ignored. ... I think the...
... A bit, yes. :-) ... Yes, I think so. Though I suppose, given the way the DocBook grammar works, I'd be a little happier if the names of the attributes on...
... Giving you the pattern name would be much more problematic than giving you a type annotation from the element/attribute pattern. Pattern names in RELAX NG...
... Fair enough. I'm happy to provide the "type" that I want returned as an annotation on the pattern. Happier, in fact, but I was trying to keep the request...
[Changing the subject to something more meaningful.] ... Quite so. I got hung up on finding an XML syntax for it. But let's try and work this through. Looking...
James, ... Nothing in the RELAX NG specification. However, the xml:id recommendation recommends validation of xml:id against xsd:ID (see D.3 With RELAX NG...
... Sure. 1) a.rnc include "b.rnc" include "c.rnc" 2) b.rnc include "d.rnc" 3) c.rnc include "d.rnc" 4) d.rnc guard "http://www.example.com" X = element foo...
... Well, I think part of the answer is to educate people that the DTD compatibility specification is optional and you don't have to follow it. In particular,...