Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public class CharacterSheetParser extends DefaultHandler { private String url; private StringBuilder text; private Characters characters = new Characters(); private Character characterModel; private boolean fillingCharacter; public CharacterSheetParser(String url) { this.url = url; } /** * Read the url and parse the XML * * @throws ParserConfigurationException * @throws SAXException * @throws IOException */ public void parse() throws ParserConfigurationException, SAXException, IOException { InputStream urlInputStream = null; SAXParserFactory spf = null; SAXParser sp = null; URL url = new URL(this.url); urlInputStream = url.openConnection().getInputStream(); spf = SAXParserFactory.newInstance(); if (spf != null) { sp = spf.newSAXParser(); sp.parse(urlInputStream, this); } if (urlInputStream != null) urlInputStream.close(); } public void startElement(String uri, String name, String qName, Attributes atts) { // When a result is found the if (name.trim().equals("row")) { this.characterModel = new Character(); this.fillingCharacter = true; } } public void endElement(String uri, String localName, String qName) { if (localName.equalsIgnoreCase("row")) { this.characters.addCharacter(characterModel); this.fillingCharacter = false; } } }