110 const String& getLastParseError()
const noexcept;
123 void setInputSource (
InputSource* newSource)
noexcept;
132 void setEmptyTextElementsIgnored (
bool shouldBeIgnored)
noexcept;
152 bool outOfData =
false, errorOccurred =
false;
153 String lastError, dtdText;
155 bool needToLoadDTD =
false, ignoreEmptyTextElements =
true;
159 void setLastError (
const String&,
bool carryOn);
162 void skipNextWhiteSpace();
164 XmlElement* readNextElement (
bool alsoParseSubElements);
166 void readQuotedString (
String&);
167 void readEntity (
String&);
Wraps a pointer to a null-terminated UTF-8 character string, and provides various methods to operate ...
Represents a local file or directory.
A special array for holding a list of strings.
A simple class for holding temporary references to a string literal or String.
Parses a text-based XML document and creates an XmlElement object from it.
Used to build a tree of elements representing an XML document.
wchar_t juce_wchar
A platform-independent 32-bit unicode character type.
std::unique_ptr< XmlElement > parseXMLIfTagMatches(const String &textToParse, StringRef requiredTag)
Does an inexpensive check to see whether the top-level element has the given tag name,...
std::unique_ptr< XmlElement > parseXML(const String &textToParse)
Attempts to parse some XML text, returning a new XmlElement if it was valid.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...