Erro
| Número de ID do Erro | BUG-000175021 |
|---|---|
| Enviado | March 13, 2025 |
| Última Modificação | May 22, 2025 |
| Aplica-se à | ArcGIS GIS Server |
| Versão encontrada | 11.3 |
| Sistema Operacional | Windows Server |
| Versão do Sistema Operacional | 2019 64 Bit |
| Versão Fixa | 11.5, 3.5 |
| Status | Fixed |
The file “featureinfo_text_plain.xsl” under “...\ArcGIS\Server\framework\runtime\ArcGIS\Resources\Styles\WMS” was adapted to also receive a response in the case of features not found. The file was modified as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:esri_wms="http://www.esri.com/wms" xmlns="http://www.esri.com/wms">
<xsl:output method="text" indent="no" encoding="ISO-8859-1" omit-xml-declaration="yes"/>
<xsl:variable name="newline">
<xsl:text>
</xsl:text>
</xsl:variable>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="esri_wms:FeatureInfoResponse/esri_wms:FeatureInfoCollection">
<xsl:for-each select="esri_wms:FeatureInfoResponse/esri_wms:FeatureInfoCollection">@<xsl:value-of select="@layername"/><xsl:value-of select="$newline"/>
<xsl:for-each select="esri_wms:FeatureInfo[1]/esri_wms:Field"><xsl:value-of select="esri_wms:FieldName"/>;</xsl:for-each><xsl:value-of select="$newline"/>
<xsl:for-each select="esri_wms:FeatureInfo">
<xsl:for-each select="esri_wms:Field"><xsl:value-of select="esri_wms:FieldValue"/>;</xsl:for-each><xsl:value-of select="$newline"/>
</xsl:for-each>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:text>The request is not allowed.</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
ID do Erro: BUG-000175021
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri