You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
975 B
25 lines
975 B
8 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
||
|
<!--
|
||
|
Document : test_createCity1.xml
|
||
|
Created on : March 27, 2007, 10:34 PM
|
||
|
Author : Colin P
|
||
|
Description:
|
||
|
Purpose of the document follows.
|
||
|
-->
|
||
|
|
||
|
<commands xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||
|
xsi:noNamespaceSchemaLocation='http://www.cs.umd.edu/users/meesh/420/spr07/part1/part1in.xsd'
|
||
|
spatialWidth="512" spatialHeight="512">
|
||
|
<!-- Valid statement -->
|
||
|
<createCity name="Los_Angeles" x="118" y="33" radius="80" color="black"/>
|
||
|
<!-- Valid statement, lower case city name -->
|
||
|
<createCity name="los_Angeles" x="100" y="300" radius="80" color="black"/>
|
||
|
<!-- duplicateCityName error -->
|
||
|
<createCity name="los_Angeles" x="500" y="300" radius="80" color="black"/>
|
||
|
<!-- duplicateCityCoordinates -->
|
||
|
<createCity name="Miami" x="100" y="300" radius="80" color="black"/>
|
||
|
<!-- duplicateCityName - higher priority -->
|
||
|
<createCity name="los_Angeles" x="500" y="300" radius="80" color="black"/>
|
||
|
</commands>
|