Re: my first xml schema - I think it's good. Is it really?



David Carlisle wrote:
yes true, as far as it goes, of course it does leave me (as editor of the mathml dtd with its ~2000 entity definitions with no viable schema technology replacement) with something of a problem:-)

Yeah, I know. Entities are the one thing DTDs did that schemas decided not to. The current recommendations are either to use just enough of a DTD to provide those and to use schema for the rest (ugh), or to use some other macro facility or to define tags for the purpose (which doesn't address languages that started out in the DTD world). Sigh.

XML was rushed into use before it was stable. The *right* way to do it would have been to fully define the infoset, with types and namespaces, and then to derive the schema language and syntax and so on from that... but we didn't have that luxury; in order for XML to win acceptance as quickly as it did, it had to be rolled out in stages, syntax first. That's left us with a few warts. Someday there may be an XML 2.0 which goes back and cleans everything up -- probably about the time XML is ready to graduate from Recommendation to Standard -- but that isn't likely to happen very soon.

XML is still a good thing; it could be better but we're already using it productively and nobody really wants to delay that while we wait.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
.



Relevant Pages

  • [ANN] New XML Editor in Visual Studio 2005 Beta 1
    ... Full syntax coloring for all XML and DTD syntax. ... Intellisense based on any DTD, ... Schema picker dialog for overriding schemas used for validation, which is then remembered as a document property in your solution. ... Goto Definition command for navigating between elements and their associated DTD, XDR or XSD schema definitions. ...
    (microsoft.public.dotnet.xml)
  • Re: Help with validating XML (DTD or Schema) with PERL
    ... to handle DTD or Schemas? ... Amongst the many things I've happily & successfully done with Perl & ... parsing XML is not one. ... original thought I would easily find a FILTER to handle DTD or Schema ...
    (comp.lang.perl.modules)
  • Validating XML against a DTD that is not supplied in the XML Schema
    ... I'm talking the problem of trying to validate whether a rss xml feed ... is well formed - i.e corresponds to the DTD and xml schema ... Sometimes a schema is referenced, ...
    (comp.lang.java.programmer)
  • Re: Need opinion on DTD design
    ... I would recommend looking into using a schema language (XML Schema, ... Relax NG) instead of a DTD. ... <!ELEMENT Gasoline EMPTY> ...
    (comp.text.xml)
  • Re: Need opinion on DTD design
    ... I would recommend looking into using a schema language (XML Schema, ... Relax NG) instead of a DTD. ... <!ELEMENT Gasoline EMPTY> ...
    (comp.text.xml)