| 
| XML Schema Generation and <!DOCTYPE>-statements: How to? [message #17267] | Thu, 10 April 2003 13:29  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: dirk.schesmer.divos.de 
 Hi all,
 
 I'd like to know whether XSD can handle the <!DOCTYPE portions (being
 optional, but still in heavy use) specified in the header part of an
 XSD-file, as well. I did not find an API for it.
 
 You see, e.g. XMLSchema.xsd until recently contained something like:
 <!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
 "XMLSchema.dtd" [
 <!-- provide ID type information even for parsers which only read the
 internal subset -->
 
 and the document world is still governed by DTDs...
 
 Thanks, Dirk V. Schesmer
 |  |  |  | 
| 
| Re: XML Schema Generation and <!DOCTYPE>-statements: How to? [message #17366 is a reply to message #17267] | Thu, 10 April 2003 14:24  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: merks.ca.ibm.com 
 Dirk,
 
 Sometimes these DOCTYPE things will require loading DTDs that are "hard
 to find", so it may fail because of that.  There is nothing in the XSD
 model to access DOCTYPE information, but it will be available in the
 underlying DOM (i.e., xsdSchema.getDocument()).
 
 "Dirk V. Schesmer" wrote:
 
 > Hi all,
 >
 > I'd like to know whether XSD can handle the <!DOCTYPE portions (being
 > optional, but still in heavy use) specified in the header part of an
 > XSD-file, as well. I did not find an API for it.
 >
 > You see, e.g. XMLSchema.xsd until recently contained something like:
 > <!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
 > "XMLSchema.dtd" [
 > <!-- provide ID type information even for parsers which only read the
 > internal subset -->
 >
 > and the document world is still governed by DTDs...
 >
 > Thanks, Dirk V. Schesmer
 |  |  |  | 
| 
| Re: XML Schema Generation and <!DOCTYPE>-statements: How to? [message #567611 is a reply to message #17267] | Thu, 10 April 2003 14:24  |  | 
| Eclipse User  |  |  |  |  | Dirk, 
 Sometimes these DOCTYPE things will require loading DTDs that are "hard
 to find", so it may fail because of that.  There is nothing in the XSD
 model to access DOCTYPE information, but it will be available in the
 underlying DOM (i.e., xsdSchema.getDocument()).
 
 "Dirk V. Schesmer" wrote:
 
 > Hi all,
 >
 > I'd like to know whether XSD can handle the <!DOCTYPE portions (being
 > optional, but still in heavy use) specified in the header part of an
 > XSD-file, as well. I did not find an API for it.
 >
 > You see, e.g. XMLSchema.xsd until recently contained something like:
 > <!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
 > "XMLSchema.dtd" [
 > <!-- provide ID type information even for parsers which only read the
 > internal subset -->
 >
 > and the document world is still governed by DTDs...
 >
 > Thanks, Dirk V. Schesmer
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04143 seconds