diff --git a/lib/saxes.js b/lib/saxes.js index e9cd7301..13257b8f 100644 --- a/lib/saxes.js +++ b/lib/saxes.js @@ -26,71 +26,42 @@ const XML_ENTITIES = { apos: "'", }; -const S_BEGIN_WHITESPACE = 0; // leading whitespace -const S_TEXT = 1; // general stuff -const S_ENTITY = 2; // & and such. -const S_OPEN_WAKA = 3; // < -const S_OPEN_WAKA_BANG = 4; // -const S_XML_DECL_NAME_START = 29; // + +// These states are internal to sPIBody +const S_XML_DECL_NAME_START = 1; //