Hi,

I am constructing a tagmap using the following code:
TagMap tg = new TagMap (tagMap);
where tagMap is an InputStream.

I get the following error:
Attribute name "HR" must be followed by the ' = ' character. 

Here is my tagMap contents:
<tagmap>
        <tag name="itext" alias="newsletter" />
        <tag name="paragraph" alias="heading">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="16" />
                <attribute name="align" value="Left" />
        </tag>
        <tag name="paragraph" alias="members">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="numbered" value="false" />
                <attribute name="symbolindent" value="0" />
                <attribute name="listsymbol" value="" />
        </tag>
        <tag name="paragraph" alias="member">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Center" />
        </tag>
        <tag name="paragraph" alias="name">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Center" />
        </tag>  
        <tag name="paragraph" alias="title">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Center" />
        </tag>  
        <tag name="paragraph" alias="address1">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Center" />
        </tag>
        <tag name="paragraph" alias="address2">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Center" />
        </tag>
        <tag name="list" alias="phone">
                <attribute name="numbered" value="false" />
                <attribute name="symbolindent" value="8" />
                <attribute name="listsymbol" value="-" />
        </tag>  
        <tag name="listitem" alias="phonevalue">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Left" />
        </tag>  
        <tag name="list" alias="email">
                <attribute name="numbered" value="false" />
                <attribute name="symbolindent" value="8" />
                <attribute name="listsymbol" value="-" />
        </tag>
        <tag name="listitem" alias="emailvalue">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Left" />
                <attribute name="color" value="#00000FF" />
        </tag>  
        <tag name="paragraph" alias="message">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="numbered" value="false" />
                <attribute name="symbolindent" value="0" />
                <attribute name="listsymbol" value="" />
        </tag>
        <tag name="paragraph" alias="msgheading">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="14" />
                <attribute name="align" value="Center" />
        </tag>
        <tag name="paragraph" alias="msgtext">
                <attribute name="font" value="C:/WINDOWS/Fonts/times.ttf" />
                <attribute name="size" value="9" />
                <attribute name="align" value="Justify" />
        </tag>
</tagmap>


What might be wrong?
S P


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to