xml:id RE: [sc34wg3] Compact syntax requirement question

Jirka Kosek sc34wg3@isotopicmaps.org
Thu, 21 Jul 2005 00:00:43 +0200


This is a cryptographically signed message in MIME format.

--------------ms010909000300080103070509
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: quoted-printable

Murray Altheim wrote:

> While an interesting and potentially valuable idea, this is
> the kind of thing that profoundly alters the requirements
> on programmers -- in essense it means that in addition to
> writing a parser for CTM they must also provide support for
> XML fragment parsing and validation (which is markedly a lot
> more work and also decidedly different than XML document
> validation).

Not necessarly. There will be a big class of applications that could=20
just silently ignore and skip such XML fragments because they are not=20
supposed to use information stored inside them. And I'm not proposing=20
that CTM should allow XML fragments to be included in XML syntax. I had=20
in mind something like http://relaxng.org/compact-20021121.html#d0e385.

So the following fragment:

<div xmlns=3D"http://www.w3.org/1999/xhtml">
   <p align=3D"center">Hello!</p>
</div>

could be in CTM captured as follows

declare namespace xhtml =3D "http://www.w3.org/1999/xhtml"
=2E..
[xhtml:div [p [align=3D"center" "Hello!"]]]

> One might want to consider the impact this proposal would
> have on implementations. It certainly raises the bar to
> entry considerably and would require both an EBNF for CTM
> and another for XML. With XTM 1.1 at least the parser was
> already available.

Above mentioned syntax for capturing XML will require just few EBNF rules=
=2E

> My initial reaction was "yikes!"

Sorry, that was not my intention. I just think that if we are going to=20
have CTM, then roundtriping between XTM and CTM should be possible.

						Jirka

--=20
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesion=E1ln=ED =B9kolen=ED a poradenstv=ED v oblasti technologi=ED =
XML.
      Pod=EDvejte se na n=E1=B9 nov=EC spu=B9t=ECn=FD web http://DocBook.=
cz
        Podrobn=FD p=F8ehled =B9kolen=ED http://xmlguru.cz/skoleni/
------------------------------------------------------------------


--------------ms010909000300080103070509
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content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