Loading ...
Sorry, an error occurred while loading the content.

Re: XML format: planned references/aliases

Expand Messages
  • Mark van der Kraan <m.van.der.kraan@effe
    Hi Brendan, Just a minor detail: I suppose the id s ( xxxxxx ) will not be numbers, as the XML spec asks for names here. Cheers, Mark ... IDREF as the ...
    Message 1 of 3 , Mar 1 12:54 PM
    • 0 Attachment
      Hi Brendan,
      Just a minor detail: I suppose the id's ('xxxxxx') will
      not be numbers, as the XML spec asks for names here.
      Cheers,
      Mark

      --- In JSX-ideas@yahoogroups.com, "Brendan Macmillan"
      <Brendan.Macmillan@i...> wrote:
      > Below is the planned reference mechanism for the XML format of JSX.
      > Note that this is "planned" and not actually implemented yet! Your
      > comments are welcome (indeed sought!) for this planned design.
      >
      >
      > <reference idref='xxxx' ./>
      >
      > <object id='xxxxxx' ...>...</object>
      > <array id='xxxxxxx' ...>...</array>
      > <primitive id='xxxxxx' ./>
      >
      > This is consistent with the XML specification, which uses ID and
      IDREF as the
      > types for the id and idref above.
      > http://www.w3.org/TR/REC-xml#sec-attribute-types
      > Note: there is a convention in XML for instances of types to have
      similar
      > names as the types.
      >
      > The DTD for JSX needs to be modifed in this way:
      > <!ATTLIST object
      > id ID #IMPLIED>
      > <!ATTLIST array
      > id ID #IMPLIED>
      > <!ATTLIST primitive
      > id ID #IMPLIED>
      >
      > BTW: if you would like to convert the DTD of the XML format into
      > the current incantation of XML Schema, that would be most welcome.
      > But be warned that the XML format of JSX is not yet finalized, so
      > it would need to be revised.
      >
      >
      > Cheers,
      > Brendan
      > PS: in a previous post, I misremembered the ID and IDREF names -
      please
      > don't be confused! The above names are correct, as checked with the
      XML
      > spec itself.
      > --
      > bren@m... tel: +61 3 9905 1502 project: www.jsx2.com
    Your message has been successfully submitted and would be delivered to recipients shortly.