<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/sax/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/sax/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/sax/bugs/</id><updated>2011-08-17T13:24:56Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>error in &lt;xsl:for-each&gt; reported as in &lt;xsl:if&gt;</title><link href="https://sourceforge.net/p/sax/bugs/74/" rel="alternate"/><published>2011-08-17T13:24:56Z</published><updated>2011-08-17T13:24:56Z</updated><author><name>helix84</name><uri>https://sourceforge.net/u/helix84/</uri></author><id>https://sourceforge.netf3383a166ba5d96afa87696c44aeba7eced1441b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I typed this code, there's an error at the first line - the for-each tag is accidentally closed there.&lt;/p&gt;
&lt;p&gt;&amp;lt;xsl:for-each select="./qualifier='author']" /&amp;gt;&lt;br /&gt;
&amp;lt;xsl:value-of select="./node()"/&amp;gt;&amp;lt;xsl:text&amp;gt;, &amp;lt;/xsl:text&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:for-each&amp;gt;&lt;/p&gt;
&lt;p&gt;That threw the following exception (line 443 is the third line here with the closing tag):&lt;/p&gt;
&lt;p&gt;org.xml.sax.SAXParseException: The element type "xsl:if" must be terminated by the matching end-tag "&amp;lt;/xsl:if&amp;gt;".&lt;br /&gt;
context:/jndi:/localhost/themes/abc/def.xsl - 443:23&lt;/p&gt;
&lt;p&gt;The Exception talks about xsl:if, while this really was an xsl:for-each.&lt;/p&gt;
&lt;p&gt;Maybe just this exception message needs to be fixed, maybe this points to some other underlying problem or maybe this is really nothing. I'm not really sure if this is a bug but I thought I'll report it anyway.&lt;/p&gt;
&lt;p&gt;I was using XSL 1.0 in Apache Cocoon in DSpace, version is probably customized cocoon-core 2.2.0.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>XML 1.1 parser error</title><link href="https://sourceforge.net/p/sax/bugs/73/" rel="alternate"/><published>2011-02-14T17:44:07Z</published><updated>2011-02-14T17:44:07Z</updated><author><name>Stephen McCants</name><uri>https://sourceforge.net/u/smccants/</uri></author><id>https://sourceforge.net227a2821f4b8835c3fc6cb47011553b5974a117e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Opening this bug again, because I have no ability to own or edit 3181061.&lt;/p&gt;
&lt;p&gt;The XML parser is getting attribute values that are wrong (not what is in the document) under certain circumstances. I've attached an XML file and a simple program that reproduce the problem.&lt;/p&gt;
&lt;p&gt;The problem only occurs on Java 1.6 using the SAX parser shipped with it.&lt;/p&gt;
&lt;p&gt;The XML file provided must be used without any editing. Removing some "unnecessary" and unrelated tags will result in different (and sometime correct) behavior. Also, switching the XML version number from 1.1 to 1.0 results in correct behavior. Even removing the commented out XML results in the correct behavior. I tried to make the XML file as small as possible, but found if I removed any more content, then the parser behaves correctly.&lt;/p&gt;
&lt;p&gt;I was not able to step through the DOM Parser with the debugger to determine where the problem is occurring or why.&lt;/p&gt;
&lt;p&gt;I submitted this first to Oracle, but seem to have been ignored (perhaps because they do not support the SAX parser).&lt;/p&gt;
&lt;p&gt;STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :&lt;br /&gt;
Run the sample code provided with sample XML file.&lt;/p&gt;
&lt;p&gt;You'll see that in the last line, the fill, gridHeight, gridWidth, gridX, gridY, ipadX, and ipadY attributes are wrong.&lt;/p&gt;
&lt;p&gt;Note: You may need to change the package name and path to the XML file to match your setup.&lt;/p&gt;
&lt;p&gt;EXPECTED VERSUS ACTUAL BEHAVIOR :&lt;br /&gt;
(The output will show twice, as I run through the DOM parser (which uses the SAX parser, I believe) and then the SAX parser directly.&lt;br /&gt;
EXPECTED -&lt;br /&gt;
Node: GridBagConstraints : anchor = 10; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 8; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 18; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 0; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 1.0; weightY = 1.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 1; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 2; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 40; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 5; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = 0; gridHeight = 1; gridWidth = 0; gridX = 6; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;/p&gt;
&lt;p&gt;ACTUAL -&lt;br /&gt;
Node: GridBagConstraints : anchor = 10; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 8; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 18; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 0; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 1.0; weightY = 1.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 1; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 2; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 40; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 5; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = B; gridHeight = e; gridWidth = m; gridX = .; gridY = mo; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = G; ipadY = s; weightX = 0.0; weightY = 0.0;&lt;/p&gt;
&lt;p&gt;REPRODUCIBILITY :&lt;br /&gt;
This bug can be reproduced always.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>XML 1.1 parser error</title><link href="https://sourceforge.net/p/sax/bugs/72/" rel="alternate"/><published>2011-02-14T17:36:46Z</published><updated>2011-02-14T17:36:46Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc37626b140b5a1d15fc19636097a69071b863aa1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The XML parser is getting attribute values that are wrong (not what is in the document) under certain circumstances.  I've attached an XML file and a simple program that reproduce the problem.&lt;/p&gt;
&lt;p&gt;The problem only occurs on Java 1.6 using the SAX parser shipped with it.&lt;/p&gt;
&lt;p&gt;The XML file provided must be used without any editing.  Removing some "unnecessary" and unrelated tags will result in different (and sometime correct) behavior.  Also, switching the XML version number from 1.1 to 1.0 results in correct behavior.  Even removing the commented out XML results in the correct behavior.  I tried to make the XML file as small as possible, but found if I removed any more content, then the parser behaves correctly.&lt;/p&gt;
&lt;p&gt;I was not able to step through the DOM Parser with the debugger to determine where the problem is occurring or why.&lt;/p&gt;
&lt;p&gt;I submitted this first to Oracle, but seem to have been ignored (perhaps because they do not support the SAX parser).&lt;/p&gt;
&lt;p&gt;STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :&lt;br /&gt;
Run the sample code provided with sample XML file.&lt;/p&gt;
&lt;p&gt;You'll see that in the last line, the fill, gridHeight, gridWidth, gridX, gridY, ipadX, and ipadY attributes are wrong.&lt;/p&gt;
&lt;p&gt;Note:  You may need to change the package name and path to the XML file to match your setup.&lt;/p&gt;
&lt;p&gt;EXPECTED VERSUS ACTUAL BEHAVIOR :&lt;br /&gt;
(The output will show twice, as I run through the DOM parser (which uses the SAX parser, I believe) and then the SAX parser directly.&lt;br /&gt;
EXPECTED -&lt;br /&gt;
Node: GridBagConstraints : anchor = 10; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 8; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 18; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 0; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 1.0; weightY = 1.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 1; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 2; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 40; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 5; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = 0; gridHeight = 1; gridWidth = 0; gridX = 6; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;/p&gt;
&lt;p&gt;ACTUAL -&lt;br /&gt;
Node: GridBagConstraints : anchor = 10; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 8; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 18; fill = 2; gridHeight = 1; gridWidth = 0; gridX = 0; gridY = 0; insetsBottom = 0; insetsLeft = 0; insetsRight = 0; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 1.0; weightY = 1.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 1; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 2; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 40; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 13; fill = 0; gridHeight = 1; gridWidth = 1; gridX = 5; gridY = 25; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = 0; ipadY = 0; weightX = 0.0; weightY = 0.0;&lt;br /&gt;
Node: GridBagConstraints : anchor = 17; fill = B; gridHeight = e; gridWidth = m; gridX = .; gridY = mo; insetsBottom = 0; insetsLeft = 0; insetsRight = 5; insetsTop = 0; ipadX = G; ipadY = s; weightX = 0.0; weightY = 0.0;&lt;/p&gt;
&lt;p&gt;REPRODUCIBILITY :&lt;br /&gt;
This bug can be reproduced always.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Pascal link broken</title><link href="https://sourceforge.net/p/sax/bugs/71/" rel="alternate"/><published>2009-02-07T05:42:09Z</published><updated>2009-02-07T05:42:09Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netb5d0258225bb1eef001d67693c5a8f5e0ffb84c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;on the page&lt;br /&gt;
&lt;a href="http://www.saxproject.org/langs.html" rel="nofollow"&gt;http://www.saxproject.org/langs.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The pascal link is broken&lt;/p&gt;
&lt;p&gt;&lt;a href="http://xml.defined.net/SAX" rel="nofollow"&gt;http://xml.defined.net/SAX&lt;/a&gt;&lt;br /&gt;
Pascal, with a Delphi focus. Version 1.1 is done, supports SAX2r2.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error Handler Attribute Validation</title><link href="https://sourceforge.net/p/sax/bugs/70/" rel="alternate"/><published>2009-02-03T20:59:36Z</published><updated>2009-02-03T20:59:36Z</updated><author><name>Aneesh Nair</name><uri>https://sourceforge.net/u/aneeshrnair/</uri></author><id>https://sourceforge.net243185387a302856adc3435fcb545e2173ee921a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For my SAX Parser class that implements the DefaultHandler, it was noticed that the attribute validation happens while the startElement points to its parent element. &lt;/p&gt;
&lt;p&gt;XML File snippet: &lt;br /&gt;
&amp;lt;featureRules xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FSORulesSchema.xsd"&amp;gt;&lt;br /&gt;
&amp;lt;featureSet marketCode="" modelYear="2004" featureCode="" &amp;gt;&lt;br /&gt;
&amp;lt;rule id="4895" operationType="A"&amp;gt;&lt;br /&gt;
&amp;lt;featureValue&amp;gt;Yes&amp;lt;/featureValue&amp;gt;&lt;br /&gt;
&amp;lt;startDate&amp;gt;1967-08-13&amp;lt;/startDate&amp;gt;&lt;/p&gt;
&lt;p&gt;XSL File Snippet : &lt;br /&gt;
&amp;lt;xs:element name="featureRules"&amp;gt;&lt;br /&gt;
&amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
&amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
&amp;lt;xs:element ref="featureSet" maxOccurs="unbounded"/&amp;gt;&lt;br /&gt;
&amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
&amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
&amp;lt;/xs:element&amp;gt;&lt;br /&gt;
&amp;lt;xs:element name="featureSet"&amp;gt;&lt;br /&gt;
&amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
&amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
&amp;lt;xs:element ref="rule" maxOccurs="unbounded"/&amp;gt;&lt;br /&gt;
&amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
&amp;lt;xs:attribute name="marketCode" use="required"&amp;gt;&lt;br /&gt;
&amp;lt;xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;xs:restriction base="xs:string"&amp;gt;&lt;br /&gt;
&amp;lt;xs:enumeration value="NA"/&amp;gt;&lt;br /&gt;
&amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;
&amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/xs:attribute&amp;gt;&lt;br /&gt;
&amp;lt;xs:attribute name="modelYear" type="xs:short" use="required"/&amp;gt;&lt;br /&gt;
&amp;lt;xs:attribute name="featureCode" type="xs:string" use="required"/&amp;gt;&lt;/p&gt;
&lt;p&gt;Console Output : &lt;br /&gt;
(note : Element name is printed from error() of ErrorHandler. remaining is printed in the startElement() )&lt;/p&gt;
&lt;p&gt;Start Local Name : featureRules&lt;br /&gt;
Attribute name : xsi:noNamespaceSchemaLocation&lt;br /&gt;
Attribute value : FSORulesSchema.xsd&lt;br /&gt;
Element name : featureRules&lt;br /&gt;
cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[NA]'. It must be a value from the enumeration.&lt;br /&gt;
Element name : featureRules&lt;br /&gt;
cvc-attribute.3: The value '' of attribute 'marketCode' on element 'featureSet' is not valid with respect to its type, 'null'.&lt;br /&gt;
Start Local Name : featureSet&lt;br /&gt;
Attribute name : marketCode&lt;br /&gt;
Attribute value : &lt;br /&gt;
Attribute name : modelYear&lt;br /&gt;
Attribute value : 2004&lt;br /&gt;
Attribute name : featureCode&lt;br /&gt;
Attribute value : &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Aneesh&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>inconsistent postconditions in org.xml.sax.Attributes</title><link href="https://sourceforge.net/p/sax/bugs/69/" rel="alternate"/><published>2008-03-20T12:36:44Z</published><updated>2008-03-20T12:36:44Z</updated><author><name>Javier Godoy</name><uri>https://sourceforge.net/u/rjgodoy/</uri></author><id>https://sourceforge.net54496f25bec277c1d6aa928e1d7a4e92a849b4d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;(javadoc shipped with Java 6)&lt;/p&gt;
&lt;p&gt;class org.xml.sax.Attributes&lt;/p&gt;
&lt;p&gt;specification for method getValue(String qName) and getType(String qName) say they return: "(...) null (...) if the attribute is not in the list or if qualified names are not available."&lt;/p&gt;
&lt;p&gt;However, getIndex(String qName) returns "The index of the attribute, or -1 if it does not appear in the list." It does not state that null is returned when qualified names are not available.&lt;/p&gt;
&lt;p&gt;Suggested fix: documentation for getIndex(String qName) should say "Returns: The index of the attribute, or -1 if it does not appear in the list, or if or if qualified names are not available" (I think it is the expected behaviour).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SAX fails to read character entity &amp;#xB;</title><link href="https://sourceforge.net/p/sax/bugs/68/" rel="alternate"/><published>2007-06-19T11:22:45Z</published><updated>2007-06-19T11:22:45Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netfe26932aea96a2176f837b6505265aeeb14e6751</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;when using SAX via JAXP the following code throws a org.xml.sax.SAXParseException:  Character reference "&amp;amp;#xB" is an invalid XML character&lt;/p&gt;
&lt;p&gt;DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();&lt;br /&gt;
DocumentBuilder docBuilder = factory.newDocumentBuilder();&lt;/p&gt;
&lt;p&gt;Document doc = docBuilder.parse(new ByteArrayInputStream("&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;tag&amp;gt;some&amp;amp;#xB;thing&amp;lt;/tag&amp;gt;".getBytes()) );&lt;/p&gt;
&lt;p&gt;But the character entity &amp;amp;#xB; is valid according to the original XML 1.0 spec. It works however if I change the XML Version to 1.1, but the XML 1.1 spec has not really changed at that point.&lt;/p&gt;
&lt;p&gt;See:&lt;br /&gt;
&lt;a href="http://www.w3.org/TR/1998/REC-xml-19980210#sec-references" rel="nofollow"&gt;http://www.w3.org/TR/1998/REC-xml-19980210#sec-references&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3.org/TR/xml11/#sec-references" rel="nofollow"&gt;http://www.w3.org/TR/xml11/#sec-references&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Concerning the plattform and versions: Im using WinXP Prof. and a Java 6 JDK (version: build 1.6.0_01-b06). I dont know how to get the SAX version, but I figured the serialVersionUID of the thrown SAXParseException: -5651165872476709336&lt;/p&gt;
&lt;p&gt;cheers,&lt;br /&gt;
joachim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title> InputSource character buffer size 2048 problem</title><link href="https://sourceforge.net/p/sax/bugs/67/" rel="alternate"/><published>2006-08-11T16:36:41Z</published><updated>2006-08-11T16:36:41Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net7b8d58b40322419df95766fa1e03f4de7205a9bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I suppose someone has submitted this bug already. when&lt;br /&gt;
the characters content is across two "chunks of&lt;br /&gt;
character buffer", the content will be split into two...&lt;/p&gt;
&lt;p&gt;please follow... if anyone wants to =P&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>website not up:http://xml.org/sax/properties/lexical-handler</title><link href="https://sourceforge.net/p/sax/bugs/66/" rel="alternate"/><published>2006-06-16T17:35:12Z</published><updated>2006-06-16T17:35:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net3ff3e27d2b20db2b76b7f01ad4c47a3513d34ebf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This website is not working: &lt;br /&gt;
&lt;a href="http://xml.org/sax/properties/lexical-handler" rel="nofollow"&gt;http://xml.org/sax/properties/lexical-handler&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>InputSource character buffer size 2048 problem</title><link href="https://sourceforge.net/p/sax/bugs/65/" rel="alternate"/><published>2006-03-05T23:53:22Z</published><updated>2006-03-05T23:53:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6e7aad13d1d8e0fb6c7f0585e76122ec73526cf6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I parse a XML document with SAX2 via InputSource:&lt;/p&gt;
&lt;p&gt;myParser.parse(new InputSource(xmlFile.toURL&lt;br /&gt;
().openStream()));&lt;/p&gt;
&lt;p&gt;I get a tag's value splitted into two parts using the &lt;br /&gt;
callback "public void characters(...)". The first part &lt;br /&gt;
is in the character array on position 2044 with length &lt;br /&gt;
4 "16.0" and the second part "5.2005" on position 0 &lt;br /&gt;
with length 6. It should be a German date &lt;br /&gt;
value "16.05.2005" if receiving in one part.&lt;br /&gt;
This behavior is other than in SAX1 parsers. It seams &lt;br /&gt;
to relate to the character array size 2048? Ho can I &lt;br /&gt;
avoid this splitting?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>