Re: Snapshot draft of SVG 1.2 released

Hi

On Fri 2004-02-27 Chris Lilley wrote:
> The SVG Working Group is pleased to announce the availability of a
> snapshot draft of SVG 1.2.
> 
> http://www.w3.org/TR/2004/WD-SVG12-20040226
> 
> [...]
> We encourage you to look at the new RelaxNG Schema for SVG 1.2
> http://www.w3.org/TR/2004/WD-SVG12-20040226/#rng-schema
> http://www.w3.org/Graphics/SVG/1.2/rng/

Thanks for making this available!

Here's some feedback, some of it may be news:

http://www.w3.org/TR/2004/WD-SVG12-20040226/#textflow-example
and
http://www.w3.org/TR/2004/WD-SVG12-20040226/images/simpleflow.svg
differ, the latter doesn't contain a version attribute (and the former
lacks the XML prolog, but that's not very relevant) and both contain a
typo (the documents are in the null namespace). There also is an issue
with the RNG:


tobi ~/del $ wget -q http://www.w3.org/TR/2004/WD-SVG12-20040226/images/simpleflow.svg
tobi ~/del $ xval simpleflow.svg
[xval] no schema found
tobi ~/del $ ed simpleflow.svg
755
2 s/xmlns:svg/xmlns
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
a
version="1.2"
.
w
765
q
tobi ~/del $ xval simpleflow.svg
[xval] validating simpleflow.svg against
/home/tobi/bulk/xml/schemas/svg/1_2/rng/svg12.rng
[xval] jing:
/home/tobi/bulk/xml/schemas/svg/1_2/rng/svg-basic-structure.rng:215:30: error: "attribute" pattern must contain at most one pattern
/home/tobi/bulk/xml/schemas/svg/1_2/rng/svg-basic-structure.rng:216:30: error: "attribute" pattern must contain at most one pattern
[xval] xmllint:
/home/tobi/bulk/xml/schemas/svg/1_2/rng/svg-basic-structure.rng:213: element attribute: Relax-NG parser error : attribute has multiple children
Relax-NG schema /home/tobi/bulk/xml/schemas/svg/1_2/rng/svg12.rng failed to compile


tobi ~ $ xmllint --version
/home/tobi/bulk/run/libxml/2.6.7/bin/xmllint: using libxml version 20607
   [...]
tobi ~ $ jing
Jing version 20030619
[...]


Tobi

-- 
Vim users, don't forget to
   http://iccf-holland.org/donate.html

Received on Friday, 27 February 2004 06:14:59 UTC