Patch obtained from OpenEmbedded. Upstream-Status: Pending Signed-off-by: Scott Garman --- OpenSP-1.5/include/Attribute.h~attributevalue 2000-03-09 13:30:56.000000000 -0500 +++ OpenSP-1.5/include/Attribute.h 2004-01-20 14:11:36.000000000 -0500 @@ -31,6 +31,28 @@ class AttributeContext; class Syntax; +class SP_API AttributeValue : public Resource { +public: + enum Type { + implied, + cdata, + tokenized + }; + AttributeValue(); + virtual ~AttributeValue(); + virtual AttributeSemantics *makeSemantics(const DeclaredValue *, + AttributeContext &, + const StringC &, + unsigned &, + unsigned &) const; + virtual Type info(const Text *&, const StringC *&) const = 0; + virtual const Text *text() const; + virtual Boolean recoverUnquoted(const StringC &, const Location &, + AttributeContext &, const StringC &); + static Boolean handleAsUnterminated(const Text &, AttributeContext &); +}; + + class SP_API AttributeDefinitionDesc { public: AttributeDefinitionDesc() { } @@ -380,27 +402,6 @@ ConstPtr notation_; }; -class SP_API AttributeValue : public Resource { -public: - enum Type { - implied, - cdata, - tokenized - }; - AttributeValue(); - virtual ~AttributeValue(); - virtual AttributeSemantics *makeSemantics(const DeclaredValue *, - AttributeContext &, - const StringC &, - unsigned &, - unsigned &) const; - virtual Type info(const Text *&, const StringC *&) const = 0; - virtual const Text *text() const; - virtual Boolean recoverUnquoted(const StringC &, const Location &, - AttributeContext &, const StringC &); - static Boolean handleAsUnterminated(const Text &, AttributeContext &); -}; - class SP_API ImpliedAttributeValue : public AttributeValue { public: ImpliedAttributeValue();