mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
* Source/NSXMLPrivate.h: Remvoe unused ivars.
* Source/NSXMLDocument.m: Get DTD from node and and validation in init methods. * Source/NSXMLDTD.m: Implement. * Source/NSXMLNode.m: No children for attribute nodes. * Tests/base/NSXMLNode/basic.m: Test empty attribute children git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34943 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc6968f8d6
commit
d3e3f4e17c
6 changed files with 255 additions and 50 deletions
|
@ -136,25 +136,15 @@ StringFromXMLString(const unsigned char *bytes, unsigned length)
|
|||
* is imported and before GSInternal.h is imported.
|
||||
*/
|
||||
#define GS_NSXMLDocument_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
||||
NSXMLDTD *docType; \
|
||||
NSString *MIMEType; \
|
||||
NSInteger contentKind; \
|
||||
|
||||
|
||||
/* Instance variables for NSXMLDTD with/without the instance
|
||||
* variable 'inherited' from NSXMLNode.
|
||||
* This macro needs to be defined before the NSXMLDTD.h header
|
||||
* is imported and before GSInternal.h is imported.
|
||||
*/
|
||||
#define GS_NSXMLDTD_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
||||
NSString *publicID; \
|
||||
NSString *systemID; \
|
||||
NSMutableDictionary *entities; \
|
||||
NSMutableDictionary *elements; \
|
||||
NSMutableDictionary *notations; \
|
||||
NSMutableDictionary *attributes; \
|
||||
NSString *original; \
|
||||
|
||||
#define GS_NSXMLDTD_IVARS SUPERIVARS(GS_NSXMLNode_IVARS)
|
||||
|
||||
/* Instance variables for NSXMLDTDNode with/without the instance
|
||||
* variable 'inherited' from NSXMLNode.
|
||||
|
@ -229,4 +219,3 @@ StringFromXMLString(const unsigned char *bytes, unsigned length)
|
|||
#endif /* HAVE_LIBXML */
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue