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!
there who checked "Use DOS line endings" for
CygWin?
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
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
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
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
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
, but the vocabulary belongs to
the Ant/Task developers.
Do you complain about XHTML/XSLT/SVG/XSLFO/XForm etc. as well?
J.Pietschmann
ternally through the APIs.
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
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
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
e the same namespace prefix twice on the same
element.
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
16 matches
Mail list logo