Next in thread → Next in month →

Re: XML syntax for mixin example in section 6.6.2

From
Julien Gilli <>
Date
2012-08-30T17:16:24+00:00
ID
CAC55uAbEK_7b53bb3Vc8-chyzTQB+0Zd1-WL=0Liv_ePc=
Thread
Re: XML syntax for mixin example in section 6.6.2
Sorry everyone, somehow I hit the sent button inadvertently.

So the XML syntax in the example in section 6.6.2 of the oBIX spec seems to have two errors. The first one is in the "acme:Clock" contract, where the op tag is not closed. The second one is in the "acme:Radio" contract where the real element is not closed too. I guess it's pretty minor but I used this example in my test suite, and I thought it would be nice for other developers to be able to copy/paste this example without having to deal with these errors.

I hope this helps, and sorry for double posting.

On Thu, Aug 30, 2012 at 10:11 AM, Julien Gilli <> wrote:

Hi,

In section 6.6.2, the first following :

	<obj href="">

		<str name="serialNo"/>

	</obj>

	<obj href="" is="acme:Device">

		<op name="snooze">

		<int name="volume" val="0"/>

	</obj>

	<obj href="" is="acme:Device ">

		<real name="station" min="87.0" max="107.5">

		<int name="volume" val="5"/>

	</obj>

	<obj href="" is="acme:Radio acme:Clock acme:Device">

	</obj>

-- 
Julien

-- 
Julien
Next in thread → Next in month →