If the suggestion below works, it's not compatible with the spec, which allows two variants of "content-type", e.g.,

content-type="content-type:xml/svg"
or
content-type="namespace-prefix:svg"

(See 7.28.1) We can't even blame CSS for this one.

Peter

J.Pietschmann wrote:

Guillaume Mathe wrote:

Now i have another question, this time about Xerces lib....
- with 1.2.3 i get :
[ERROR]: Error in content-type property value 'content-type:image/jpg': org.apache.fop.fo.expr.PropertyException: illegal character
for the following item:
<fo:external-graphic content-type="content-type:image/jpg" width="150px" height="34px" src="hello.jpg" />


The exception is raised by FOP, not the XML parser.
Try
<fo:external-graphic content-type="image/jpg" .../>
^^^^




Reply via email to