I was looking into name classes, in order to build partially variable attribute names (e.g. accept attributes starting with `foo-` with anything after that). ...
1409
G. Ken Holman
g_ken_holman
Nov 23, 2011 12:11 pm
This is consistent with other XML languages. In XPath the only name wild card in a node test is the entire local name, and in DTD and W3C Schema the "any"...
1410
Xavier Morel
rng-users@...
Nov 23, 2011 12:49 pm
... It's possible to apply text-munging tests on a local name though, via fn:contains, fn:substring &al, though they tend to be gross e.g....
1411
Roadrunner
mcamiano
Nov 23, 2011 1:01 pm
Some thoughts... Your two alternatives seem reasonable, technically. Consider what it is that motivates the use of the prefix. Not to start a war over...
1412
G. Ken Holman
g_ken_holman
Nov 23, 2011 1:07 pm
... Agreed. But when I used the term "node test" I was using an XPath definition of the specification of which nodes along an axis are being selected in a...
1413
Xavier Morel
rng-users@...
Nov 23, 2011 1:26 pm
... Second case....
1414
Jirka Kosek
jirka@...
Nov 23, 2011 11:02 pm
... Such feature is consider for RELAX NG 2.0. So one day, you can do this directly in RELAX NG. For now you have to resort for other techniques like...
1415
Jim Orcheson
va3jno
Dec 18, 2011 12:38 pm
As a test, I created a simple DocBook document by copying example 1.2 from DocBook 5: The Definitive Guide: <?xml version="1.0" encoding="utf-8"?> <article...
1416
Dave Pawson
dpawson2000
Dec 18, 2011 12:52 pm
... Same file script java -Xss4m -classpath $cp -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration ...
1417
Jim Orcheson
va3jno
Dec 18, 2011 1:49 pm
See below. ... No, I am using exactly what I entered above. Hence my confusion. Jim...
1418
Sebastian Rahtz
sebastianrahtz
Dec 18, 2011 2:01 pm
You seem to be validation a docbook document against the schema for relaxng achemas. Hence the error. Sent from my HTC ... From: "Jim Orcheson" <jim@...> ...
1419
Jim Orcheson
va3jno
Dec 18, 2011 3:18 pm
Thanks, that explains it. By using the correct schema, it now works. Jim...
1420
jcchartrand
Jan 12, 2012 8:21 am
Hello, I'm hoping someone can point me at a library (preferably java) that will parse an RNG schema and subsequently answer questions like: What parents are...
1421
Tara Athan
taraathan
Feb 7, 2012 2:58 pm
Hi Relax NG Colleagues, RuleML Version 1.0 has recently been released: http://mail.ruleml.org/pipermail/ruleml-all/2012-January/000325.html This (fine-grained,...
1422
Alex Muir
alex.g.muir@...
Feb 16, 2012 12:23 pm
Hi, I've written a script that I thought would flatten various rnc files into one such that dk-extensions.rnc includes cookery.inc, phrasebook.inc and ...
1423
Alex Muir
alex.g.muir@...
Feb 16, 2012 1:33 pm
In doing a conversion as follows jing -s -c dk-extensions.rnc > dk-extensions.rng trang dk-extensions.rng dk-common.rnc I get this in the resulting output...
1424
MURATA Makoto
mktmurata
Feb 16, 2012 1:54 pm
The error is about conflicts such as element * { empty } & element docbook:nutrition { empty } where both the first and second operand match <...
1425
Alex Muir
alex.g.muir@...
Feb 16, 2012 1:59 pm
When I strip out the _1 the error messages go away. Just trial and error found that out. I understand the error but not entirely clear how the _1 is causing...
1426
MURATA Makoto
mktmurata
Feb 16, 2012 2:13 pm
I read the RELAX NG specification again. I made a mistake. RELAX NG normalization does not replace element * {notAllowed} with notAllowed Thus, this is not a...
1427
Alex Muir
alex.g.muir@...
Feb 16, 2012 2:22 pm
jing -s -c dk-extensions.rnc > dk-extensions.rng trang dk-extensions.rng dk-common.rnc i was already using -s in jing as above but it's trang that is adding...
1428
Alex Muir
alex.g.muir@...
Feb 16, 2012 2:24 pm
That does get rid of the error message. Why is that? ... -- Alex Muir Program Organizer - University Technology Student Work Experience Building University of...
1429
MURATA Makoto
mktmurata
Feb 16, 2012 2:57 pm
If this change does not remove the error message, do you have another occurrence of "element *" elsewhere in your schema? Or, do you have _1 & _1 ? Regards, ...
1430
Alex Muir
alex.g.muir@...
Feb 16, 2012 3:19 pm
Yeah as it turns out,, _3 = element * { text } _4 = element * { xsd:anyURI } _5 = element * { "Collection" ... } _6 = element * { xsd:language } _7 = element *...
1431
Tara Athan
taraathan
Feb 16, 2012 6:33 pm
Please see http://code.google.com/p/jing-trang/issues/detail?id=140&colspec=ID%20Type%20Status%20Priority%20Stars%20Module%20Summary which provides a simple...
1432
Alex Muir
alex.g.muir@...
Feb 17, 2012 7:12 am
Yeah so what's involved to code this. Has anyone spent some time looking into it? ... -- Alex Muir Program Organizer - University Technology Student Work...
1433
Alex Muir
alex.g.muir@...
Feb 17, 2012 10:27 am
Something I still don't understand is whether this is a solution that I should use and what is it doing. thanks ... Is this the final recommended fix for the...
1434
Tara Athan
taraathan
Feb 17, 2012 5:32 pm
Regarding the replacement of _1 = element * {notAllowed} with _1 = element conflict { notAllowed } to avoid certain error message that arise when _1 is used in...
1435
Alex Muir
alex.g.muir@...
Feb 17, 2012 5:44 pm
Okay thanks very much,, created a little script to adjust that at the end of the process. Regards ... -- Alex Muir Program Organizer - University Technology...
1436
Jason Sachs
arghman
Feb 27, 2012 7:09 pm
I'm confused. If I use the schema attrbug.rnc (see below) it seems to let through multiple spaces in a row, even though that shouldn't be legal. I'm using this...
1437
Syd Bauman
syd_bauman
Feb 27, 2012 7:26 pm
Well, isn't that what xsd:token means? See http://www.w3.org/TR/xmlschema-2/#token If you want internal whitespace preserved before comparison, I think you...