You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Johan <jo...@gmail.com> on 2005/01/13 11:56:18 UTC
Problem with doctype tag and XmlTextReader (Compact framework)
My XmlTextReader (C# , Compact Framework) throws a
"NotSupportedException" when reading a SVG file generated by Batik.
The exception is thrown when reading the doctype tag.
The tag looks like this:
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
The XmlTextReader is supposed to not validate, only check for wellformedness.
Any idees?
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Problem with doctype tag and XmlTextReader (Compact framework)
Posted by Johan <jo...@gmail.com>.
I presume it has to do with the parser. It is a (System.Xml.XmlReader,
.net compact framework). The reason i posted here is if annyone has
had a similar problem.
The parser is supposed (according to doc) to only look for
wellformedness and dosen't validate.
On Thu, 13 Jan 2005 06:09:40 -0500, Thomas DeWeese
<Th...@kodak.com> wrote:
> Hi Johan,
>
> Johan wrote:
>
> > My XmlTextReader (C# , Compact Framework) throws a
> > "NotSupportedException" when reading a SVG file generated by Batik.
> > The exception is thrown when reading the doctype tag.
>
> Is there some reason you think there is a problem with this
> doctype tag? I'm sorry but this sounds like a problem with your
> XmlTextReader. It may just not like any Doctype that includes a
> reference to a dtd, but that would just be plain wrong.
>
> > The tag looks like this:
> > <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
> > 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
> >
> > The XmlTextReader is supposed to not validate, only check for wellformedness.
> >
> > Any idees?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: batik-users-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Problem with doctype tag and XmlTextReader (Compact framework)
Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Johan,
Johan wrote:
> My XmlTextReader (C# , Compact Framework) throws a
> "NotSupportedException" when reading a SVG file generated by Batik.
> The exception is thrown when reading the doctype tag.
Is there some reason you think there is a problem with this
doctype tag? I'm sorry but this sounds like a problem with your
XmlTextReader. It may just not like any Doctype that includes a
reference to a dtd, but that would just be plain wrong.
> The tag looks like this:
> <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
> 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
>
> The XmlTextReader is supposed to not validate, only check for wellformedness.
>
> Any idees?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org