Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.2

Bug #115 Warning: xml_parse(): Unable to call handler startHandler()
Submitted: 2003-10-17 03:24 UTC
From: dh at onclick dot org Assigned:
Status: Duplicate Package: XML_DTD
PHP Version: 5.0.0b1 (beta1) OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2003-10-19 15:32 UTC
Package:
Bug Type:
Summary:
From: dh at onclick dot org
New email:
PHP Version: Package Version: OS:

 

 [2003-10-17 03:24 UTC] dh at onclick dot org
Description: ------------ Hello - I tried XML_DTD 0.4.1 with both XML_Tree 2.0.b(1/2) and always got this error message when using XmlValidator.php: Warning: xml_parse(): Unable to call handler startHandler() The error appears in XML/Parser.php at line 265 which is called by XML_Tree. Can you help me further? I include the dtd and the file I tested in the fields below. Reproduce code: --------------- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- $Id: ocm.dtd, v 0.96 2003/10/17 00:00:00 garfycx Exp $ --> <!DOCTYPE ocm[ <!ELEMENT ocm (concept|data|element|id|index|protocol|session|set|user)+> <!ATTLIST ocm signed CDATA #REQUIRED changed CDATA #REQUIRED user CDATA #REQUIRED userid CDATA #REQUIRED> <!ELEMENT concept (#PCDATA)> <!ATTLIST concept id CDATA #REQUIRED language CDATA #REQUIRED status CDATA #REQUIRED maintainers CDATA #REQUIRED users CDATA #REQUIRED public CDATA #REQUIRED> <!ELEMENT data (#PCDATA)> <!ATTLIST data idref CDATA #REQUIRED> <!ELEMENT element (title)+> <!ATTLIST element id CDATA #REQUIRED type CDATA #REQUIRED length CDATA #REQUIRED checksum CDATA #REQUIRED> <!ELEMENT id EMPTY> <!ATTLIST id idref CDATA #REQUIRED signed CDATA #REQUIRED changed CDATA #REQUIRED user CDATA #REQUIRED userid CDATA #REQUIRED> <!ELEMENT index (key)+> <!ATTLIST index id CDATA #REQUIRED> <!ELEMENT key EMPTY> <!ATTLIST key on CDATA #REQUIRED of CDATA #IMPLIED order CDATA #IMPLIED only CDATA #IMPLIED> <!-- pattern for matching entries --> <!ELEMENT session EMPTY> <!ATTLIST session signed CDATA #REQUIRED changed CDATA #REQUIRED user CDATA #REQUIRED userid CDATA #REQUIRED expires CDATA #REQUIRED after (signed|changed) #REQUIRED> <!ELEMENT set EMPTY> <!ATTLIST set subject CDATA #REQUIRED object CDATA #REQUIRED value CDATA #REQUIRED> <!ELEMENT title (#PCDATA)> <!ATTLIST title language CDATA #REQUIRED pattern CDATA #IMPLIED> <!ELEMENT user EMPTY> <!ATTLIST user id CDATA #REQUIRED name CDATA #REQUIRED password CDATA #REQUIRED email CDATA #REQUIRED> ]> Expected result: ---------------- <ocm version="" signed="" changed="" user="" userid=""> <session signed="" changed="" user="" userid="" expires="20" after="changed"/> </ocm>

Comments