[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deja vu Again



Randy Presuhn writes:
>For the XML currently in use by the various vendors, does
>anyone know roughly what percentage has been specified using
>XSDs rather than DTDs?  (Just curious - I'm not advocating
>anything.)

Juniper publishes both but we greatly prefer XSDs. DTDs suffer from
two major problems: poor namespace support and non-xml syntax.
Since XSD files are XML, they can be transformed like any other
XML data. One can turn XSDs into XForms, code, or database layouts.
In the same vein, XSD content can be served by the device
as XML data.

    http://www.juniper.net/techpubs/software/junos53/junoscript53-guide/html/config-guide17.html

In addition, XML Schema provides the <xsd:appinfo> tag, which
can be used to contain application-specific information
or anything outside the bounds of XML Schema.

    http://www.w3.org/TR/2000/WD-xmlschema-1-20000407/#element-appinfo

The other interesting schema language is Relax NG, which
we don't currently support.

    http://www.oasis-open.org/committees/relax-ng/
    http://www.oasis-open.org/committees/relax-ng/spec-20011203.html

Thanks,
 Phil

--
to unsubscribe send a message to xmlconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/xmlconf/>