Trang can't handle externalRef... Is there any tool that will "compile" a composite rng by merging in the external refs? Or even better, an analog for Xsd.exe...
... Coolness. This should of course be linked from relaxng.org, but... -- As you read this, I don't want you to feel John Cowan sorry for me, because, I...
... ... but has been added to http://www.relax-ng.org . . . . . . . . . . Ken -- World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds:...
... Ach... it seems to work pretty well, but doesn't solve my trouble since trang can't handle embedded grammars. One niggle - it inserts <rng:div> tags where...
Hi, ... In that case, you should be able to adapt the XSLT transformation I wrote to show how the RNG simplification works [1]. Each step of the simplification...
 Maybe this is a problem someone else has solved? Is it just hopeless to expect reasonable results from this bastardized mix of technologies? I'm trying...
Hi Brad, Brad Langhorst wrote: [...] ... The div element is allowed inside grammar for instance but not inside define. oXygen reports an error when you have...
Hi List This may seem to be a silly question (it does to me ;) ) but is there any restrictions on where in a relax-ng schema the optional elements should...
Rory McKinley
rorymckinleylists@...
May 5, 2008 7:34 pm
829
... They can appear where you say they can appear. If you have a content model of: { element a { text }, element b { text }?, element c { text } } ... then <b>...
Might help, Rory, if you append a snippet of your schema and a tiny sample XML instance that is not valid against it, but that you thought would be....
... <snip> Thanks Ken You have pretty much confirmed what I thought should happen. Unfortunately, the reality seems to be different. I have posted snippets of...
Rory McKinley
rorymckinleylists@...
May 7, 2008 1:52 am
832
... <snip> Ok Syd That's a good idea - below find (a really long post)- the schema (a snippet): <?xml version="1.0" encoding="UTF-8"?> <grammar...
Rory McKinley
rorymckinleylists@...
May 7, 2008 1:52 am
833
... Which processor are you using? Jing version 20030619 accepts your instance without error (see below). I hope this helps. . . . . . . . . . . . . Ken ...
Is there a validating parser available in one of the M$ languages please? I.e. not Java? TIA -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk...
... Relax NG does not have a regular expression syntax, you have to use a data type library and you would have to check whatever specification governs the type...
Hi David. Hope all is well with you. ... <data type="string"> <param name="pattern">https?://([^/?#]+)/([^?#]*)(\?([^?#]+))?(#(.*))?</param> </data> That's it....
http://www.oasis-open.org/committees/relax-ng/compatibility-20011203.html#default-value ODF calls this up normatively. How can it be tested please? E.g. given ...
... Change the schema and observe different application behavior. If you cannot change the schema, you most likely couldn't tell whether an application...
... I can change the schema. How, then, might I automatically test for a difference? Noting the app is an ODF implementation? regards -- Dave Pawson XSLT...
... The general idea would be to make two schemas with different default values; consider there is a color attribute, one schema specifies blue color, the...
Hi there, I have a question about the default namespace attribute ns. Is this inherited when using define? I created the following test, first a simple xml...
... Yes, see the namespaces in xml recommendation. http://www.w3.org/TR/REC-xml-names/#defaulting The scope of a default namespace declaration extends from the...
... Oke, that is for the default namespace declarations with xmlns. But how about the relax-ng ns attribute. In my second example I expected that the ns...