[XML-SIG] [ pyxml-Bugs-810663 ] xmlproc and Notation bug
SourceForge.net
noreply at sourceforge.net
Mon Sep 22 11:24:57 EDT 2003
Bugs item #810663, was opened at 2003-09-22 17:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=810663&group_id=6473
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexandre Fayolle (afayolle)
Assigned to: Lars Marius Garshol (larsga)
Summary: xmlproc and Notation bug
Initial Comment:
it seems there is a problem with the NOTATION when you
activate the validation of the XML. When I try to
validate the XML attached to this email, xmlproc
replies me :
E:test-notation.xml:7:54: 'png' is not an allowed
value for the
'format' attribute
E:test-notation.xml:18:23: 'gif' is not an allowed
value for the
'format' attribute
E:test-notation.xml:21:23: 'jpg' is not an allowed
value for the
'format' attribute
E:test-notation.xml:24:23: 'png' is not an allowed
value for the
'format' attribute
source XML document:
--------------8<---------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE root [
<!ELEMENT root (image*)>
<!ELEMENT image (imagedata)>
<!ATTLIST image format NOTATION (gif|jpg|png) "png">
<!ELEMENT imagedata EMPTY>
<!ATTLIST imagedata file CDATA #REQUIRED>
<!NOTATION gif SYSTEM "gif-viewer.exe">
<!NOTATION jpg SYSTEM "jpg-viewer.exe">
<!NOTATION png SYSTEM "png-viewer.exe">
] >
<root>
<image format="gif">
<imagedata file="toto.gif"/>
</image>
<image format="jpg">
<imagedata file="toto.jpg"/>
</image>
<image format="png">
<imagedata file="toto.png"/>
</image>
</root>
--------------------8<-----------------------
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=810663&group_id=6473
More information about the XML-SIG
mailing list