<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/matra/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/matra/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 27 Jul 2004 21:18:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/matra/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>quotes not removed for system literals in public notations </title><link>https://sourceforge.net/p/matra/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the NotationReader.readPublicNotation method it&lt;br /&gt;
doesn't check for and move past the quotes before&lt;br /&gt;
setting the notation's system identifier. It does it&lt;br /&gt;
correctly for the public identifier just before setting&lt;br /&gt;
the system identitifer in the same method. So as it is&lt;br /&gt;
now the quotes are included as part of the notation's&lt;br /&gt;
system identifier. I switched this line:&lt;/p&gt;
&lt;p&gt;String sysId = data.getNextToken();&lt;/p&gt;
&lt;p&gt;in my code to:&lt;/p&gt;
&lt;p&gt;quot = data.getNextChar();&lt;br /&gt;
if(!isQuotChar(quot)) {&lt;br /&gt;
throw new DTDSyntaxException("A system literal&lt;br /&gt;
should be enclosed in quotes (\' or \"); found invalid&lt;br /&gt;
char - '" + quot + "'.");&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;if( data.endOfData() ) {&lt;br /&gt;
throw new DTDSyntaxException("Unexpected end of data&lt;br /&gt;
stream encountered at location " +&lt;br /&gt;
data.getCurrentLocation() + " - was expecting&lt;br /&gt;
notation's system identifier.");&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;String sysId = data.getNextToken(quot); // sysId&lt;/p&gt;
&lt;p&gt;---&lt;br /&gt;
Andrea&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrea Goethals</dc:creator><pubDate>Tue, 27 Jul 2004 21:18:30 -0000</pubDate><guid>https://sourceforge.neta24742e18c294983c06c383664335e5aad829ba6</guid></item><item><title>AttList toString bug</title><link>https://sourceforge.net/p/matra/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am adapting the Matra code for my own uses and I came&lt;br /&gt;
across this bug. In the AttList.toString method (line&lt;br /&gt;
323) it has attlist += enums[enums.length - 1] + ") ";&lt;/p&gt;
&lt;p&gt;When the enums array is empty this line causes a &lt;br /&gt;
java.lang.ArrayIndexOutOfBoundsException to be thrown.&lt;br /&gt;
I switched this line in my version of the code to:&lt;/p&gt;
&lt;p&gt;if (enums.length &amp;gt; 0) {&lt;br /&gt;
attlist += enums[enums.length - 1] + ") ";&lt;br /&gt;
} else {&lt;br /&gt;
attlist += ") ";&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Andrea Goethals&lt;br /&gt;
goethal@ufl.edu&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 20 Jul 2004 18:05:03 -0000</pubDate><guid>https://sourceforge.net29c7b55faadc514ac3669907af2a8d147fd37a19</guid></item><item><title>PubidLiteral not checked for in Notation declaration</title><link>https://sourceforge.net/p/matra/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;amp;lt;!NOTATION not  PUBLIC  "` is not allowed!"&amp;amp;gt;&lt;br /&gt;
Does not give an error.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Tue, 23 Mar 2004 00:08:46 -0000</pubDate><guid>https://sourceforge.net7e02ff48acd453cee3d57dcff51859acc5f978fb</guid></item><item><title>PI with invalid target Name</title><link>https://sourceforge.net/p/matra/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The PIs do not have a target that follows the 'Name' &lt;br /&gt;
construct - so should get an error on parse. Matra does &lt;br /&gt;
not throw an error for these.&lt;/p&gt;
&lt;p&gt;&amp;lt;?23 name="value"?&amp;gt;&lt;br /&gt;
&amp;lt;?1target name="value"?&amp;gt;&lt;br /&gt;
&amp;lt;?#target name="value"?&amp;gt;&lt;br /&gt;
&amp;lt;? target name="value"?&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Mon, 22 Mar 2004 23:44:29 -0000</pubDate><guid>https://sourceforge.net605a4e6066130991aae04a26abe3b6e4628b4c1d</guid></item><item><title>Spelling mistake in Notation error message</title><link>https://sourceforge.net/p/matra/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Got invalid token while parsing a Notaion declaration&lt;br /&gt;
^&lt;br /&gt;
It should read Notation not "Notaion".&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Thu, 18 Mar 2004 22:26:57 -0000</pubDate><guid>https://sourceforge.netf6c741e12eb2f35c61b6a7973de52bb31a2282df</guid></item><item><title>incorrect error message on eof</title><link>https://sourceforge.net/p/matra/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;steps to recreate&lt;/p&gt;
&lt;p&gt;Matra -s "&amp;lt;"&lt;/p&gt;
&lt;p&gt;Caught DTDException - Invalid character (&amp;lt;) &lt;br /&gt;
encountered at location (1, 1) - was expecting '!'.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Fri, 30 Jan 2004 23:40:58 -0000</pubDate><guid>https://sourceforge.net8840282a9c90975423d78d02f4dbb7b8df5670cb</guid></item><item><title>string input referred to as file</title><link>https://sourceforge.net/p/matra/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;steps to recreate -&lt;/p&gt;
&lt;p&gt;Matra -s "&amp;amp;lt;!ELEMENT test EMPTY&amp;amp;gt;"&lt;/p&gt;
&lt;p&gt;Completed parsing of DTD the file - &amp;lt;!ELEMENT test &lt;br /&gt;
EMPTY&amp;gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Fri, 30 Jan 2004 23:22:15 -0000</pubDate><guid>https://sourceforge.nete7dc3669486fa3332b86aed6eb19ca78bf2721fa</guid></item><item><title>Incorrect char in invalid char error</title><link>https://sourceforge.net/p/matra/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;steps to recreate -&lt;/p&gt;
&lt;p&gt;Matra -s "junk"&lt;/p&gt;
&lt;p&gt;Caught DTDException - Invalid character (u) &lt;br /&gt;
encountered at location (1, 1) - was expecting '&amp;lt;'.&lt;/p&gt;
&lt;p&gt;The invalid char here is "j" and not "u"!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Fri, 30 Jan 2004 23:16:33 -0000</pubDate><guid>https://sourceforge.netcf7609a2901759b7ab322785a1a7036b6ef707a1</guid></item><item><title>Error on valid Notation declaration</title><link>https://sourceforge.net/p/matra/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;steps to recreate -&lt;/p&gt;
&lt;p&gt;Matra -s "&amp;amp;lt;!NOTATION GIF89a  PUBLIC '-&lt;br /&gt;
//CompuServe//NOTATION Graphics Interchange Format &lt;br /&gt;
89a//EN'&amp;amp;gt;"&lt;/p&gt;
&lt;p&gt;gives an error! -&lt;/p&gt;
&lt;p&gt;Caught DTDException - Got invalid char while parsing a &lt;br /&gt;
Notation declaration - I - was expecting '&amp;gt;'.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Sun, 25 Jan 2004 21:37:45 -0000</pubDate><guid>https://sourceforge.net363609cc889207aa57f85f75ef78cdfd73fc77bd</guid></item><item><title>stacktrace printed even when -v not specified</title><link>https://sourceforge.net/p/matra/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When a non-exisiting file location is specified to matra, it &lt;br /&gt;
prints the stack trace even if the -v (verbose) option is &lt;br /&gt;
not specified.&lt;/p&gt;
&lt;p&gt;For e.g.,&lt;/p&gt;
&lt;p&gt;Matra -f nofile&lt;/p&gt;
&lt;p&gt;gives -&lt;/p&gt;
&lt;p&gt;begin parsing ... C:\eclipse\workspace\matra 0_7\nofile&lt;br /&gt;
java.io.FileNotFoundException: &lt;br /&gt;
C:\eclipse\workspace\matra 0_7\nofile (The system &lt;br /&gt;
cannot find the file specified)&lt;/p&gt;
&lt;p&gt;Caught DTDException - &lt;/p&gt;
&lt;p&gt;Completed parsing of DTD the file - &lt;br /&gt;
C:\eclipse\workspace\matra 0_7\nofile.&lt;br /&gt;
at java.io.FileInputStream.open(Native Method)&lt;br /&gt;
at java.io.FileInputStream.&amp;lt;init&amp;gt;(Unknown &lt;br /&gt;
Source)&lt;br /&gt;
at java.io.FileInputStream.&amp;lt;init&amp;gt;(Unknown &lt;br /&gt;
Source)&lt;br /&gt;
at com.conradroche.matra.io.DTDFile.read&lt;br /&gt;
(DTDFile.java:145)&lt;br /&gt;
at &lt;br /&gt;
com.conradroche.matra.dtdparser.DTDParser.parse&lt;br /&gt;
(DTDParser.java:516)&lt;br /&gt;
at com.conradroche.matra.Matra.process&lt;br /&gt;
(Matra.java:281)&lt;br /&gt;
at com.conradroche.matra.Matra.main&lt;br /&gt;
(Matra.java:225)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derupe</dc:creator><pubDate>Sat, 17 Jan 2004 00:02:50 -0000</pubDate><guid>https://sourceforge.net6c7bf48f1e056907c22c0481ee2d51793779959e</guid></item></channel></rss>