I am having a problem dealing with named entities while trying to validate an XML file against a schema.
I have some XML files that include named entities (e.g., endash, etc.) in several places. I am trying to build a PHP script that will validate these XML files against a schema file and then...
When parsing an XML file for a field containing a legal document's title (i.e., "Smith v. Jones"), I am having problems when the amp. character entity is encountered. The PHP parser seems to break up the tag's contents around the entity (and change the named & entity to the actual "&"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.