| 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, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 9 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 9 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
| 10 * | 10 * |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "core/xml/parser/XMLDocumentParser.h" | 28 #include "core/xml/parser/XMLDocumentParser.h" |
| 29 | 29 |
| 30 #include <libxml/parser.h> | 30 #include <libxml/parser.h> |
| 31 #include <libxml/parserInternals.h> | 31 #include <libxml/parserInternals.h> |
| 32 #include "HTMLHtmlElement.h" | 32 #include "HTMLHtmlElement.h" |
| 33 #include "HTMLLinkElement.h" | 33 #include "HTMLLinkElement.h" |
| 34 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
| 35 #include "HTMLStyleElement.h" | 35 #include "HTMLStyleElement.h" |
| 36 #include "HTMLTemplateElement.h" | 36 #include "HTMLTemplateElement.h" |
| 37 #include "ScriptSourceCode.h" | |
| 38 #include "ScriptValue.h" | |
| 39 #include "XMLNSNames.h" | 37 #include "XMLNSNames.h" |
| 38 #include "bindings/v8/ScriptSourceCode.h" |
| 39 #include "bindings/v8/ScriptValue.h" |
| 40 #include "core/dom/CDATASection.h" | 40 #include "core/dom/CDATASection.h" |
| 41 #include "core/dom/Comment.h" | 41 #include "core/dom/Comment.h" |
| 42 #include "core/dom/Document.h" | 42 #include "core/dom/Document.h" |
| 43 #include "core/dom/DocumentFragment.h" | 43 #include "core/dom/DocumentFragment.h" |
| 44 #include "core/dom/DocumentType.h" | 44 #include "core/dom/DocumentType.h" |
| 45 #include "core/dom/ExceptionCodePlaceholder.h" | 45 #include "core/dom/ExceptionCodePlaceholder.h" |
| 46 #include "core/dom/ProcessingInstruction.h" | 46 #include "core/dom/ProcessingInstruction.h" |
| 47 #include "core/dom/ScriptElement.h" | 47 #include "core/dom/ScriptElement.h" |
| 48 #include "core/dom/TransformSource.h" | 48 #include "core/dom/TransformSource.h" |
| 49 #include "core/html/parser/HTMLEntityParser.h" | 49 #include "core/html/parser/HTMLEntityParser.h" |
| (...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 sax.startElementNs = attributesStartElementNsHandler; | 1520 sax.startElementNs = attributesStartElementNsHandler; |
| 1521 sax.initialized = XML_SAX2_MAGIC; | 1521 sax.initialized = XML_SAX2_MAGIC; |
| 1522 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); | 1522 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax,
&state); |
| 1523 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; | 1523 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; |
| 1524 xmlParseChunk(parser->context(), reinterpret_cast<const char*>(parseString.c
haracters()), parseString.length() * sizeof(UChar), 1); | 1524 xmlParseChunk(parser->context(), reinterpret_cast<const char*>(parseString.c
haracters()), parseString.length() * sizeof(UChar), 1); |
| 1525 attrsOK = state.gotAttributes; | 1525 attrsOK = state.gotAttributes; |
| 1526 return state.attributes; | 1526 return state.attributes; |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 } | 1529 } |
| OLD | NEW |