Re: XML, XSL, and Ant

2003-10-23 Thread J.Pietschmann
arser... Fortunately, the resolver from XML commons implements both the URIResolver and the EntityResolver interface. James Clark rules! a chance to plug in the entity resolver... We should be able to change > this if SAXSource is supported, I'll take a stab at it Great!

Re: ReplaceTest failing under cygwin

2003-09-23 Thread J.Pietschmann
there who checked "Use DOS line endings" for CygWin? J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-11 Thread J.Pietschmann
h will not necessarily result in an immediate system crash. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: antlib / proposal of Peter Reilly

2003-05-21 Thread J.Pietschmann
s that everyone expects something different at the other end of the namespace: some want to point it to a schema for the vocabulary, some like to find an XHTML description, others prefer some sort of RSS metadescription, and on this list, surprise, an implementation class or a Jar seems to be a favorite. J.Pietschmann

Re: Testing for an abstract method

2003-05-15 Thread J.Pietschmann
arameter)]; for-each parameter parameterTypes[position()] = built-in-classes(@type) if parameterTypes[position()]==null parameterTypes[position()] = Class.forName(@type) method=clazz.getMethod(@method,parameterTypes); J.Pietschmann

Re: Testing for an abstract method

2003-05-15 Thread J.Pietschmann
bar (any type) and implementing interface xyzzy Hm, one problem is the syntax for any method named bar and method bar(void). People will probably assume that no declarations for parameter types mean the the latter and will wonder how to do the former. We can just omit the first case though. J.Pietschmann

Testing for an abstract method

2003-05-13 Thread J.Pietschmann
s to a JDK 1.3 based environment. Any chance to get the task a bit extended so that it can also be used to check for methods, fields, implemented interfaces etc. and specific properties, like for example J.Pietschmann

Re: Roles (was: antlib)

2003-05-08 Thread J.Pietschmann
ex matching to grab some tuff from the middle of a big XML document, you'll have to parse the whole doc in order resolve prefixes to namespaces). Interestingly, when namespaces were introduced to C++ there weren't much bitch&moan, while it posed exactly the same problems. J.Pietschmann

Re: Roles (was: antlib)

2003-05-08 Thread J.Pietschmann
uot;; xmlns:doc="http://nwalsh.com/xsldoc"; xmlns:xhtml="http://www.w3.org/...";> A sample stylesheet The template matching is used for... ... Attributes could also provide interesting use cases: J.Pietschmann

Re: Roles (was: antlib)

2003-05-07 Thread J.Pietschmann
, but the vocabulary belongs to the Ant/Task developers. Do you complain about XHTML/XSLT/SVG/XSLFO/XForm etc. as well? J.Pietschmann

Re: Roles (was: antlib)

2003-05-07 Thread J.Pietschmann
ternally through the APIs. J.Pietschmann

Re: Namespaces in Ant

2003-05-05 Thread J.Pietschmann
be used - even with the current command. Hm. How do you ensure that prefixes wont clash? This also pretty much rules out validation or schema-directed editing with a standard tool. J.Pietschmann

Re: Namespaces in Ant

2003-05-03 Thread J.Pietschmann
artup, the associations between namespace name and factory class name is read from a Services file. Want to add a FOP extension? Get the default Services file, add a line with your namespace-to-factoryclassname mapping put it into the jar with all the classes and drop the jar as first into the classpath. If the user wants to use multiple extensions, well, edit the main Services instead, dead easy. HTH J.Pietschmann

Re: NameSpace & antlib was (Re: polymorphism)

2003-04-28 Thread J.Pietschmann
form of a namespace name, for example mandating that it points to a library in order to associate expanded element names with a meaning rather than to use a single spec. J.Pietschmann

Re: NameSpace & antlib was (Re: polymorphism)

2003-04-28 Thread J.Pietschmann
e the same namespace prefix twice on the same element. J.Pietschmann

Re: Cygwin tester needed

2003-03-25 Thread J.Pietschmann
gdrive/c (prefix is configurable, so YMMV). It is possible that cygpath can be used to expand C: to /cygdrive/c in shell scripts, there ought to be a manual explaining this... J.Pietschmann