Hi Thomas.
Thomas DeWeese:
>I have a working implementation of getElementById built around
> a Document Hash Table. It handles all the nasty cases pretty well.
Nice! Have you handled the case where (in DOM 3) an attribute is set to
be an id attribute? I can try to modify your implementatio
Hi Ruud.
Ruud Steltenpool:
> Looking at the incoming abstracts, plus from personal messages having an
> idea of what's still coming, i expect about every major SVG implementor
> actively participating at SVG Open 2005. However, Batik implementors are
> not among them yet :-(
>
> Please look at th
Now that I think of it, and that I've done the work of creating these
extended DOM interfaces :), is there any need for them at all? If
users of the Batik DOM classes have to downcast to get access to the DOM
3 methods, why not just make them cast to one of the dom.Abstract*
classes?
Cameron
--
Thomas DeWeese:
>What are you compiling with? JDK 1.3? That doesn't have
> xml-apis at all (they were added in 1.4 as DOM 2). In which
> case my point about the xalan might still be valid.
No, with JDK 1.4. Anyway, don't worry about this any more. :-)
--
e-mail : cam (at) mcc.id.au
Thomas DeWeese:
>I don't know for sure, if you tweaked the 'compile' target
> then you probably need to tweak the 'compiletest' target as well.
> Otherwise I would compare the two targets and see how they
> differ.
Yeah, the strange thing was that I didn't have to change the 'compile'
target a
Thomas DeWeese:
> There is one other issue which is that I would like to put
> out a 1.5.2 before making such a large change (especially if it
> is going to make things difficult for users on JDK 1.5 or less).
> One option would be to fork the code base which would allow this
> work to go in now
And another thing: I am trying to put my test cases into regard, but I
come up against the DOM 3 interfaces problem here, too. Compiling the
main sources works fine but when compiling the test sources it finds
only the DOM 2 interfaces, and so my tests don't compile.
Any hints?
Thanks,
Cameron
Hi Thomas and others.
I've implemented DOM 3 Core and Events support for Batik, along with
a number of tests for the new code. Before checking it in, though,
there are still a couple of issues I want to nut out:
1. How should the lack of DOM 3 interfaces in JDK < 1.5 be handled?
For testing,
ld execute
differently by just checking if a function exists on the object or not.
But I guess if you are writing a 1.1 document and it refers to a DOM 3
method then any behaviour would be (strictly) acceptable -- if it is
a function reference or a the undefined value, it shouldn't make much
diff
message
http://lists.w3.org/Archives/Public/www-svg/2005Jan/0029.html
I think it would be difficult to handle documents whose version
changes if there is a particular DOMImplementation that is chosen at
document parse time.
Any thoughts?
Thanks,
Cameron
[1] http:
OMImplementation.
> I'm not worried too much about this since I suspect that most
> people only use the SAXSVGDocumentFactory to construct documents.
> What do people think should I preserve this class?
I obviously can'
just quotes everything to be safe, so it doesn't have to
check.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
s XML, sXBL would be one
possibility for having your format rendered as SVG behind the scenes.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.getElementById I suppose that is
what one should use inside shadow trees. It would mean though that
authors would have to put an svg element explicitly in their shadow
trees if they want to look up elements by id.
Cameron
--
Cameron
ded mark them as 'dirty', when someone asks for an id
> - check the hash table if it is present and still part of the document
> great return it. Otherwise start walking the 'dirty' subtree's adding
> id's as you go, until you get to the one you want (or retu
p://xml.apache.org/batik/javadoc/org/apache/batik/swing/svg/JSVGComponent.html
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
document to be dynamic.
Anything wrong with these two proposed changes?
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
he transcoder and svggen because 160 errors is too
> many to examine closely.
Is there a CVS tag I can use to get the 1.5.1 sources?
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubsc
test report is here:
http://mcc.id.au/~cam/2004.07.01-20h51m35s/html/regardReport.html
Help to make these tests pass appreciated!
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubsc
Cameron McCormack:
> >You could easily check this by removing or replacing with an 8,
> > the character '∞'. This doesn't help much with identifying
> > the problem font though...
>
> There are a few generic sounding fonts in that package, such as
problem font though...
There are a few generic sounding fonts in that package, such as a
Helvetica; it could be the culprit. I'll try finding which one is
the problem font tomorrow.
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
--
s like it is
in a Type 1 font.
*tests*
I removed the gsfonts-x11 package and now it seems to work. Doing this
probably will break ghostscript or xpdf though, I guess.
Maybe I'll just have to run the tests in Windows in vmware, but that would
be fair
samples/mathMetal.svg
java: ../../../src/share/native/sun/awt/font/t2k/t1.c:2171:
tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.
Java Result: 129
BUILD SUCCESSFUL
Total time: 4 minutes 52 seconds
Any idea? I did think that I would get some inaccurate renderings
because of text, but some of the examples there (such as the Apache
logo) don't have text. The assertion is a bit of a worry too. :/
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tonny Kohar:
> I would like to ask the status of Batik bug found during commiter
> absence and the provided fix (is it acceptable ?).
>
> Here is the bugzilla ID, and the provided fix by various person.
> - 28679 (Fill rule bug, it is fixed by Cameron McCormack, if the fix is
&g
Vincent Hardy:
> I already sent the request to [EMAIL PROTECTED] with the result of the
> vote. Have you not received confirmation? I sent the request 6/17.
No, I haven't heard anything.
--
Cameron McCormack
| Web: http://mcc.id.au/
| IC
rom then on.
Yes I did tell Vincent my preferred username. I should have a CLA on
file already. I didn't mention what mail address I'd like to have mails
forwarded to, though, which would be cam-apache (at) aka.mcc.id.au.
Cameron
--
C
gList" field instead of
> the method "getPathSegList"?
Yes, in fact you should use pathSegList instead of getPathSegList. (I
have a habit of looking up the SVG DOM Java interfaces in Batik, where
methods are used instead of properties.)
Cameron
--
Cameron McCormack
| Web: htt
, "path") which will
return a NodeList object of all the path elements in the document, in
document order.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jamie Browning:
> Has it? Where have you read/seen this?
The latest SVG working draft from last month. I hear that a new one
will be out soon!
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscr
> Rendering Custom Content (RCC) which is proposed in the SVG 1.2. spec.
(Which has been dropped in favour of XBL.) I don't think forking Batik
is a good idea. Just get some life in to the project in the form of
some more developers. I saw Vincent at the webapps workshop the other
week, but
Tonny Kohar:
> Do you have any cvs write access privileges?
I don't think so; I never tried. I would need to have been given a
username and password, right?
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
in as commiter. Then everyone will happy and Batik
> project continue.
I think Vincent and Thomas agreed at one stage to make me a committer,
but nothing ever came of it.
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
---
Glen Mazza:
> Vincent and Thomas have been kind of quiet lately, so please add the patch
> to Bugzilla so it won't get lost.
>
> http://nagoya.apache.org/bugzilla/query.cgi
Good idea.
--
Cameron McCormack
| Web: http://mcc.id.au/
oks like you're right. Here's a patch that should fix the problem
(which also occurs with polygon and polyline elements).
Maybe if Vincent or Thomas are listening they could consider checking it
in to CVS.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
---
Hi guys.
Here's a tiny patch to avoid a NPE in SVGTextElementBridge
.getSubStringLength when you try to get the length of zero characters.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
--- sources/org/apache/batik/bridge/SVGTextElementBridge.java 2004-04-12
Having just read the spec a little closer, I think the attached patch is
better. (text elements need default values of "0" for x and y
attributes, but the other text positioning elements don't.)
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
Index: sou
attributes were wrong.
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
Index: sources/org/apache/batik/dom/svg/AbstractSVGList.java
===
RCS file:
/home/cvspublic/xml-batik/sources/org/apache/bat
much appreciated
What exactly do you have in your classpath? Try just putting
xml-batik/batik-1.5.1/batik.jar in there, as it will include all the
other jars that are necessary. Make sure you've done a "build jars" to
make these jar files.
Cameron
--
Cameron McCormack
| Web: ht
y take 5 hours or more.
I think I found the problem: my envelope From address as generated by my
mail server didn't match my From: address. I reconfigured things and
now messages come through straight away. :-)
--
Cameron McCormack
| Web: http://
Is it that when I send a mail to the list with an attachment, it goes to
a list moderator or something? I get really inconsistent delivery of
messages, and I'm wondering if that's the reason. Sometimes the message
come straight through, other times it may take 5 hours or more.
-
hould cause a document to be dynamic.
This is useful for my project, as it would let me not modify
BaseScriptingEnvironment and keep all my code as an extension.
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
Index: sources/org/apache/batik/b
hould cause a document to be dynamic.
This is useful for my project, as it would let me not modify
BaseScriptingEnvironment and keep all my code as an extension.
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
Index: sources/org/apache/batik/b
it a little closer later on.
I see. The changes I made were to store the animated value actually in
the LiveAttributeValue object.
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail:
ecause the
SoftDoublyIndexedTable doesn't keep a hard reference to it.
I suggest changing AbstractElement to use DoublyIndexedTable. I don't
see any obvious memory leak issues there, but maybe there are some that
prompted the use of the soft references in the first place.
Cameron
--
Came
Sorry about the test, my last mail didn't get to the list.
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nts, and the one for
the g happens to be called later.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
diff -ru xml-batik/sources/org/apache/batik/bridge/AbstractGraphicsNodeBridge.java
xml-batik.test/sources/org/apache/batik/bridge/AbstractGraphicsNodeBridge.java
--- x
I'll fax off the CLA later today some time.
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
diff -ur -x CVS xml-batik/sources/org/apache/batik/css/engine/CSSEngine.java
xml-batik.csvg/sources/org/apache/batik/css/engine/CSSEngine.java
--- xml-batik/sources/org/apache/b
ent override the fill="yellow" on the
circle? Or do I not know the CSS cascade properly?
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECT
ing a slightly
> more general architecture.
What third class do you mean?
>That would be great! Do you have an Apache CLA on file? If not
> you should probably review it and make sure you can sign one.
No I don't. Coincidentally we just had a seminar on IP issues here at
yReciever" interface should be
"MainPropertyReceiver". That interface's method also has a typo --
"setMainPoperty" should be "setMainProperty".
I'll submit a patch when I've finished the override style stuff (without
the animation support, which'll
animated values, so if you are animating a CSS value is it impossible
through script to get at that animated value? (Or if animated values
*are* returned, is it impossible to get the base value?)
Thanks,
Cameron
--
Cameron McCormack
| Web: http
plicable to Batik...
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Batik developers.
What are the LiveAttributeValue interface and the
{get,put}LiveAttributeValue methods in AbstractElement used for? Are
they the beginnings of animation support? I notice that the
SVGAnimated* types implement the LibeAttributeValue interface.
Thanks,
Cameron
--
Cameron
getInstanceRoot function returning the element from the
SVGOMCSSImportedElementRoot wouldn't be correct?
Thanks,
Cameron
--
Cameron McCormack
// [EMAIL PROTECTED]
// http://www.csse.monash.edu.au/~clm/
// icq 26955922
--
generated would work quite well.
Cameron
--
Cameron McCormack
// [EMAIL PROTECTED]
// http://www.csse.monash.edu.au/~clm/
// icq 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hasn't started on it I will probably write it.
Cameron
--
Cameron McCormack
// [EMAIL PROTECTED]
// http://www.csse.monash.edu.au/~clm/
// icq 26955922
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
56 matches
Mail list logo