Hi,
Title says it all ;) ... In url-generator-config.rng, it is specified that when there are several options in the url generator's config, the url must come first and the other options can come in any order. Is there a technical reason for that? I don't think so since the url is read, when there is no "shortcut" through an XPath expression: String url = XPathUtils.selectStringValueNormalize(configElement, "/config/url"); Couldn't this be changed? Thanks, Eric -- GPG-PGP: 2A528005 Le premier annuaire des apiculteurs 100% XML! http://apiculteurs.info/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws signature.asc (196 bytes) Download Attachment |
Administrator
|
I don't think there is a reason. What about the attached url-generator-
config.rng, would that work better? If so I will check this in. -Erik On Feb 2, 2008, at 3:25 AM, Eric van der Vlist wrote: > Hi, > > Title says it all ;) ... > > In url-generator-config.rng, it is specified that when there are > several > options in the url generator's config, the url must come first and the > other options can come in any order. > > Is there a technical reason for that? > > I don't think so since the url is read, when there is no "shortcut" > through an XPath expression: > > String url = XPathUtils.selectStringValueNormalize(configElement, "/ > config/url"); > > Couldn't this be changed? > > Thanks, > > Eric > -- > GPG-PGP: 2A528005 > Le premier annuaire des apiculteurs 100% XML! > http:// > apiculteurs.info/ > ------------------------------------------------------------------------ > Eric van der Vlist http://xmlfr.org http://dyomedea.com > (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax > (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema > ------------------------------------------------------------------------ Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws url-generator-config.rng (5K) Download Attachment |
Hi Erik,
Le lundi 04 février 2008 à 10:38 -0800, Erik Bruchez a écrit : > I don't think there is a reason. What about the attached url-generator- > config.rng, would that work better? Yes, that seems perfect. Thanks, Eric > If so I will check this in. > > -Erik -- GPG-PGP: 2A528005 Weblog: http://eric.van-der-vlist.com/blog?t=category&a=English ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws signature.asc (196 bytes) Download Attachment |
Administrator
|
Cool, that's committed.
-Erik On Feb 4, 2008, at 10:42 AM, Eric van der Vlist wrote: > Hi Erik, > > Le lundi 04 février 2008 à 10:38 -0800, Erik Bruchez a écrit : >> I don't think there is a reason. What about the attached url- >> generator- >> config.rng, would that work better? > > Yes, that seems perfect. > > Thanks, > > Eric > >> If so I will check this in. >> >> -Erik > > -- > GPG-PGP: 2A528005 > Weblog: > http://eric.van-der-vlist.com/blog? > t=category&a=English > ------------------------------------------------------------------------ > Eric van der Vlist http://xmlfr.org http://dyomedea.com > (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax > (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema > ------------------------------------------------------------------------ Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |