On Friday, February 27, 2004, 12:15:12 PM, Tobias wrote:
TR> Hi
TR> 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/
TR> Thanks for making this available!
TR> Here's some feedback, some of it may be news:
TR> http://www.w3.org/TR/2004/WD-SVG12-20040226/#textflow-example
TR> and
TR> http://www.w3.org/TR/2004/WD-SVG12-20040226/images/simpleflow.svg
TR> differ, the latter doesn't contain a version attribute (and the former
TR> lacks the XML prolog, but that's not very relevant) and both contain a
TR> typo (the documents are in the null namespace).
Oops, thank you.
TR> There also is an issue with the RNG:
TR> tobi ~/del $ wget -q
TR> http://www.w3.org/TR/2004/WD-SVG12-20040226/images/simpleflow.svg
TR> tobi ~/del $ xval simpleflow.svg
TR> [xval] no schema found
TR> tobi ~/del $ ed simpleflow.svg
TR> 755
TR> 2 s/xmlns:svg/xmlns
TR> <svg xmlns="http://www.w3.org/2000/svg"
TR> xmlns:xlink="http://www.w3.org/1999/xlink"
TR> a
TR> version="1.2"
TR> .
TR> w
TR> 765
TR> q
OK so that fixes the xmlns error and adds the version attribute. Here
is a fixed version (the SVG 1.2 syntax, and the ASV6 version that
renders this using the public preview of ASV6).
What do people think about having to wrap flowPara in a flowDiv, by
the way?
We know that the rendering of the 'GO!" example, while better than the
previous draft, is still wrong (there is a soft hyphen displayed in
the middle of a word).
I will let Robin comment on the RNG errors.
TR> tobi ~/del $ xval simpleflow.svg
TR> [xval] validating simpleflow.svg against
TR> /home/tobi/bulk/xml/schemas/svg/1_2/rng/svg12.rng
TR> [xval] jing:
TR> /home/tobi/bulk/xml/schemas/svg/1_2/rng/svg-basic-structure.rng:215:30:
TR> error: "attribute" pattern must contain at most one pattern
TR> /home/tobi/bulk/xml/schemas/svg/1_2/rng/svg-basic-structure.rng:216:30:
TR> error: "attribute" pattern must contain at most one pattern
TR> [xval] xmllint:
TR> /home/tobi/bulk/xml/schemas/svg/1_2/rng/svg-basic-structure.rng:213:
TR> element attribute: Relax-NG parser error : attribute has multiple
TR> children
TR> Relax-NG schema
TR> /home/tobi/bulk/xml/schemas/svg/1_2/rng/svg12.rng failed to compile
TR> tobi ~ $ xmllint --version
TR> /home/tobi/bulk/run/libxml/2.6.7/bin/xmllint: using libxml version 20607
TR> [...]
TR> tobi ~ $ jing
TR> Jing version 20030619
TR> [...]
TR> Tobi
--
Chris Lilley mailto:chris@w3.org
Chair, W3C SVG Working Group
Member, W3C Technical Architecture Group