After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 117001 - xmllint --relaxng svg11.rng => RNG internal error
xmllint --relaxng svg11.rng => RNG internal error
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: relaxng
2.5.7
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2003-07-08 16:04 UTC by Tobi
Modified: 2017-06-12 19:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tobi 2003-07-08 16:04:30 UTC
Hi

With the latest Windows version (libxml2-2.5.7.win32\util\xmllint) I get:

C:\del>wget -q
http://www3.sppd.ne.jp/lena/relax-ng/svg11/svg11-relaxng-20030117.zip
C:\del>mkdir svg11rng
C:\del>paext -p"svg11rng" svg11-relaxng-20030117.zip
[...unzipping...]
C:\del>wget -q http://www.w3.org/TR/SVG11/images/shapes/rect01.svg
C:\del>jing svg11rng/svg11.rng rect01.svg
C:\del>xmllint --relaxng svg11rng/svg11.rng rect01.svg
RNG internal error trying to compile attribute
RNG internal error trying to compile attribute
RNG internal error trying to compile attribute
RNG internal error trying to compile attribute
RNG internal error trying to compile attribute
[...repeat...]

The RNG is not an official W3C schema, but Jing seems to digest it OK.

Tobi
Comment 1 Daniel Veillard 2003-07-23 19:58:22 UTC
Found the problem, the bug was introduced while implementing
the compilation as regexp (internally) of subpart of Relax-NG
schemas. This now works:

gnome:~/tmp/svg11 -> ../../XML/xmllint --noout --nowarning --relaxng
svg11.rng rect01.svg
http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod:75: validity
warning: Attribute space of element style: already defined
    type %ContentType.datatype; #REQUIRED
    ^
rect01.svg validates
gnome:~/tmp/svg11 ->

  The warning is just related to the SVG DTD.

    thanks a lot for the report, it's now fixed in CVS,
Daniel
Comment 2 Tobi 2003-07-24 07:26:14 UTC
Daniel

> thanks a lot for the report, 

Happy to be of help :)

> it's now fixed in CVS,

Great!

Tobi
Comment 3 Daniel Veillard 2003-08-11 10:37:13 UTC
This should be closed by release of libxml2-2.5.9,
                                                                     
          
  thanks,
                                                                     
          
Daniel