XML_ERR_RESERVED_XML_NAME

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • benji

    XML_ERR_RESERVED_XML_NAME

    I am using xml_parse_into_ struct on php version 5.0.3 and am getting
    the error message "Reserved XML Name" (using
    xml_error_strin g(xml_get_error _code($parser)) ) while attempting to
    process even the simplest of files.

    e.g.

    <?xml version='1.0'?>
    <chapter>
    <book>A title</book>
    </chapter>



    I have been able to uncover the error code for the message in the XML
    Parser which is:

    XML_ERR_RESERVE D_XML_NAME

    I have also undercovered a hint that the code might mean an invalid
    name prefix.

    I am reasonably sure that my code worked before I upgraded my server to
    the lastest version (though I cannot recall the version of php in the
    last copy).

    Does anyone know the exact meaning of the error code I am getting?

    Could this be a bug in php or the xml extension? I have searched and
    found some bugs in previous versions that related to the use of the xml
    extension in objects could this be the case here?
    Thanks for any help you can give me

    Ben

Working...