Hi,
I've added VCL styles to one of my apps and AdvMemo together with AdvXMLMemoStyler goes wild.
1) AdvXMLMemoStyler: Syntax-Parsing breaks when multiple http URLs in KML xsi:schemaLocation
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/kml/2.2 http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd http://www.google.com/kml/ext/2.2 http://code.google.com/apis/kml/schema/kml22gx.xsd http://www.w3.org/2005/Atom http://schemas.opengis.net/kml/2.2.0/atom-author-link.xsd" version="2.2" creator="TrackTool v3.1.0.287" name="Auf-Hulb_Ab-Herrenberg.fsp" time="2019-02-05T15:42:30.797Z">
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/kml/2.2 http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd http://www.google.com/kml/ext/2.2 http://code.google.com/apis/kml/schema/kml22gx.xsd http://www.w3.org/2005/Atom http://schemas.opengis.net/kml/2.2.0/atom-author-link.xsd" version="2.2" creator="TrackTool v3.1.0.287" name="Auf-Hulb_Ab-Herrenberg.fsp" time="2019-02-05T15:42:30.797Z">
All subsequent XML is not parsed correctly.
2) AdvXMLMemoStyler: Highlighting of URLs does not work reliably in XML
- Works only if not in "": xsi:schemaLocation="http://www.opengis.net/kml/2.2"
- Works only if surrounded by SPACES: <href>http://earth.google.com/images/kml-icons/track-directional/track-none.png</href>
- Works only if surrounded by SPACES: <href>http://earth.google.com/images/kml-icons/track-directional/track-none.png</href>
3) AdvXMLMemoStyler: Marks URL as comment due to // in http://...
<href>http://earth.google.com/images/kml-icons/track-directional/track-none.png</href>
4) The VCL style colors are not used automatically by AdvXMLMemoStyler. See white background color using a dark VCL style.
I have a simple demo project which exposes all this issues, that I will upload.
Cheers,
Stefan