| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2008 Holger Hans Peter Freyther | 7 * Copyright (C) 2008 Holger Hans Peter Freyther |
| 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "core/loader/ImageLoader.h" | 57 #include "core/loader/ImageLoader.h" |
| 58 #include "core/frame/UseCounter.h" | 58 #include "core/frame/UseCounter.h" |
| 59 #include "core/xml/XMLErrors.h" | 59 #include "core/xml/XMLErrors.h" |
| 60 #include "core/xml/XMLTreeViewer.h" | 60 #include "core/xml/XMLTreeViewer.h" |
| 61 #include "core/xml/parser/XMLDocumentParserScope.h" | 61 #include "core/xml/parser/XMLDocumentParserScope.h" |
| 62 #include "core/xml/parser/XMLParserInput.h" | 62 #include "core/xml/parser/XMLParserInput.h" |
| 63 #include "platform/SharedBuffer.h" | 63 #include "platform/SharedBuffer.h" |
| 64 #include "platform/network/ResourceError.h" | 64 #include "platform/network/ResourceError.h" |
| 65 #include "platform/network/ResourceRequest.h" | 65 #include "platform/network/ResourceRequest.h" |
| 66 #include "platform/network/ResourceResponse.h" | 66 #include "platform/network/ResourceResponse.h" |
| 67 #include "weborigin/SecurityOrigin.h" | 67 #include "platform/weborigin/SecurityOrigin.h" |
| 68 #include "wtf/StringExtras.h" | 68 #include "wtf/StringExtras.h" |
| 69 #include "wtf/TemporaryChange.h" | 69 #include "wtf/TemporaryChange.h" |
| 70 #include "wtf/Threading.h" | 70 #include "wtf/Threading.h" |
| 71 #include "wtf/UnusedParam.h" | 71 #include "wtf/UnusedParam.h" |
| 72 #include "wtf/Vector.h" | 72 #include "wtf/Vector.h" |
| 73 #include "wtf/text/CString.h" | 73 #include "wtf/text/CString.h" |
| 74 #include "wtf/unicode/UTF8.h" | 74 #include "wtf/unicode/UTF8.h" |
| 75 | 75 |
| 76 using namespace std; | 76 using namespace std; |
| 77 | 77 |
| (...skipping 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 sax.initialized = XML_SAX2_MAGIC; | 1634 sax.initialized = XML_SAX2_MAGIC; |
| 1635 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); | 1635 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); |
| 1636 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1636 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
| 1637 parseChunk(parser->context(), parseString); | 1637 parseChunk(parser->context(), parseString); |
| 1638 finishParsing(parser->context()); | 1638 finishParsing(parser->context()); |
| 1639 attrsOK = state.gotAttributes; | 1639 attrsOK = state.gotAttributes; |
| 1640 return state.attributes; | 1640 return state.attributes; |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 } // namespace WebCore | 1643 } // namespace WebCore |
| OLD | NEW |