Search the web
Sign In
New User? Sign Up
rng-users · RELAX NG users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 828 - 857 of 1126   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
828
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@...
Send Email
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>...
G. Ken Holman
g_ken_holman
Offline Send Email
May 5, 2008
8:08 pm
830
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....
Syd Bauman
syd_bauman
Offline Send Email
May 5, 2008
8:15 pm
831
... <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@...
Send Email
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@...
Send Email
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 ...
G. Ken Holman
g_ken_holman
Offline Send Email
May 7, 2008
2:03 am
834
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...
Dave Pawson
dpawson2000
Offline Send Email
May 9, 2008
8:01 am
835
... I'm probably missing something. I haven't tried any of them, but several are listed here: http://www.relaxng.org/#validators...
Kendall Shaw
blipf
Offline Send Email
May 9, 2008
7:58 pm
836
... Thanks Kendall. .net and activeX will do fine. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk...
Dave Pawson
dpawson2000
Offline Send Email
May 10, 2008
7:13 am
837
<data type="string"> <param name="pattern">https?\:////([^/?#]+)/([^?#]*)(\?([^?#]+))?(#(.*))?</param> </data> I'm getting an ' x.rng:25:25: error: invalid...
Dave Pawson
dpawson2000
Offline Send Email
Jun 12, 2008
11:19 am
838
Hello Dave, ... when you use regular expressions, they are Unicode Regular Expressions as defined in XML Schema. Here is the link ... ...
david tolpin
dtolpin
Offline Send Email
Jun 12, 2008
11:23 am
839
... 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...
Bjoern Hoehrmann
hoermi
Offline Send Email
Jun 12, 2008
11:25 am
840
Hi David. Hope all is well with you. ... <data type="string"> <param name="pattern">https?://([^/?#]+)/([^?#]*)(\?([^?#]+))?(#(.*))?</param> </data> That's it....
Dave Pawson
dpawson2000
Offline Send Email
Jun 12, 2008
11:43 am
841
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 ...
Dave Pawson
dpawson2000
Offline Send Email
Jun 16, 2008
2:18 pm
842
... Change the schema and observe different application behavior. If you cannot change the schema, you most likely couldn't tell whether an application...
Bjoern Hoehrmann
hoermi
Offline Send Email
Jun 16, 2008
3:02 pm
843
... 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...
Dave Pawson
dpawson2000
Offline Send Email
Jun 16, 2008
3:16 pm
844
... 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...
Bjoern Hoehrmann
hoermi
Offline Send Email
Jun 16, 2008
3:21 pm
845
... Should be possible, or at least possible to define a test that a vendor could run. Thanks Bjoern regards -- Dave Pawson XSLT XSL-FO FAQ. ...
Dave Pawson
dpawson2000
Offline Send Email
Jun 16, 2008
3:36 pm
846
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...
willem.vanheerde
willem.vanhe...
Offline Send Email
Jun 30, 2008
7:19 pm
847
... 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...
Dave Pawson
dpawson2000
Offline Send Email
Jul 1, 2008
5:08 am
848
... 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...
willem.vanheerde
willem.vanhe...
Offline Send Email
Jul 1, 2008
8:09 am
849
Hi Willem, The ns attribute is inherited from the nearest ancestor, that means from the grammar element in your second example, see rule 9: ...
George Cristian Bina
george_bina
Offline Send Email
Jul 1, 2008
8:57 am
850
I want xml such as <test applicable='document'/> or <test applicable='application' class='text spreadsheet'/> <test applicable='application' class='text...
Dave Pawson
dpawson2000
Offline Send Email
Jul 1, 2008
9:40 am
851
Hi Dave, Something like below perhaps? <attribute name='class'> <list> <oneOrMore> <choice> <value type="token">text</value> <value...
George Cristian Bina
george_bina
Offline Send Email
Jul 1, 2008
10:35 am
852
... That works. Thanks George.... <test applicable="application" class="database database"/> is also allowed: <oneOrMore (but no more than one of each)> is...
Dave Pawson
dpawson2000
Offline Send Email
Jul 1, 2008
10:43 am
853
... <list> <choice> <value type="token">text </value> <value type="token">text|spreadsheet</value> <value type="token">text|spreadsheet|presentation</value> ...
Dave Pawson
dpawson2000
Offline Send Email
Jul 1, 2008
10:59 am
854
... I don't have the time to check, but I would use 'list' for that purpose: <attribute name='class'> <list> <oneOrMore> <value type='token'>text</value> ...
Florent Georges
darkman_spam
Offline Send Email
Jul 1, 2008
11:47 am
855
... from ... Hi George, Thanx for the answer! I understand now. Best Regards, Willem....
willem.vanheerde
willem.vanhe...
Offline Send Email
Jul 1, 2008
2:53 pm
856
<element name="meta:hyperlink-behaviour"> <optional> <attribute name="office:target-frame-name"> <ref name="targetFrameName"/> </attribute> </optional> ... ...
Dave Pawson
dpawson2000
Offline Send Email
Jul 3, 2008
10:30 am
857
... If "string" allows any string, then the office:target-frame-name attribute may have any value. If it is something else, then we do not know. Perhaps the...
Bjoern Hoehrmann
hoermi
Offline Send Email
Jul 3, 2008
10:35 am
Messages 828 - 857 of 1126   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help