[Typo3-dev] suggestion for t3lib_div::xml2array()

Martin T. Kutschker Martin.T.Kutschker at blackbox.net
Sun Mar 28 17:43:49 CEST 2004


824.1080426565.32178.typo3-dev at lists.netfielders.de>	<mailman.1.1080464308.24082.typo3-dev at lists.netfielders.de>	<mailman.2853.1080466969.32178.typo3-dev at lists.netfielders.de>	<mailman.1.1080470561.32248.typo3-dev at lists.netfielders.de>
	<mailman.2869.1080475232.32178.typo3-dev at lists.netfielders.de>
NNTP-Posting-Host: m852p023.adsl.highway.telekom.at
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Trace: lists.netfielders.de 1080488573 23642 62.47.138.119 (28 Mar 2004
	15:42:53 GMT)
X-Complaints-To: usenet at news.netfielders.de
NNTP-Posting-Date: Sun, 28 Mar 2004 15:42:53 +0000 (UTC)
In-Reply-To: <mailman.2869.1080475232.32178.typo3-dev at lists.netfielders.de>
X-Accept-Language: en, de-at, de, en-us
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312
Xref: news.netfielders.de typo3.dev:2533
X-BeenThere: typo3-dev at lists.netfielders.de
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: List for Core-/Extension development
	<typo3-dev.lists.netfielders.de>
List-Help: <mailto:typo3-dev-request at lists.netfielders.de?subject=help>
List-Post: <mailto:typo3-dev at lists.netfielders.de>
List-Subscribe: <http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev>,
	<mailto:typo3-dev-request at lists.netfielders.de?subject=subscribe>
List-Archive: <http://lists.netfielders.de/pipermail/typo3-dev>
List-Unsubscribe: <http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev>,
	<mailto:typo3-dev-request at lists.netfielders.de?subject=unsubscribe>
Errors-To: typo3-dev-bounces at lists.netfielders.de
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mailin.webmailer.de id i2SFhmJf003757

Kasper Skårhøj wrote:
 >
> xml2array() converts it back and doesn't care if the tag is "numIndex"
> "n0" or "letsCloseThisThread"

That's the point. It does not care, so it creates $arr["0"] instead of 
$arr[0], which might or might not be a problem depending on context.

And I agree it's working as you expect. I have not stumbled upon a real 
problem in Typo3 now. My point was for completeness. *)

> EOS.

End Of S..? Anyway I agree, this has been going out of hand.

Masi

*) Originally I though that TCE needs an intval as index, because 
newloginbox uses n0 for flexforms. So I hacked around to get this 
beahviour for attributes. Well, for TCE it works fine, so only the 
pedantn point remains.

_______________________________________________
Typo3-dev mailing list
Typo3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev





More information about the TYPO3-dev mailing list