>>>>> "MT" == Milan Trninic <[EMAIL PROTECTED]> writes:
MT> Has anyone a comment on these questions?
I was hoping Thierry or Stephane would answer, but I'll take a
shot and they can correct me when I'm wrong.
MT> 1. Is it the rule that batik loads svg dtd on processing. (either
MT> remote or local)?
I believe this is controlled (in the viewer) by
Preferences->Browser Options-> Use a validating XML parser. I suppose
it is up to you to turn on validation or not if you are constructing
your own parser. As for local or remote I know that Batik has a copy
of the DTD in the resources directory I suspect that if your DTD
reference matches the standard it uses the local copy.
MT> 2. Can it be avoided?
I believe DTD validation can be avoided. However Batik does a
very good job of validating all _properties_ (CSS related things) when
it constructs it's DOM. This is always done and I suspect you must do
it if you are going to be a compliant CSS implementation (CSS doesn't
seperate well-formedness and validation, it would be difficult to do
since CSS has "types" where as XML just has strings).
MT> 3. What are the plans for future - mandatory or not?
I think DTD stuff will continue to be optional.
MT> 4. Why does it do that? Doesn't it make sense on some occasions to
MT> allow unvalidated processing of svg?
See my answer to #2.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]