Searched refs:doctype (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.9.5/ruby-104/ruby/test/rexml/
H A Dtest_notationdecl_mixin.rb32 @doctype = REXML::Document.new(doc_string).doctype
36 assert_equal('n1', @doctype.notation('n1').name)
40 assert_equal(@pubid1, @doctype.notation('n1').public)
41 assert_equal(@pubid2, @doctype.notation('n2').public)
42 assert_equal(@pubid3, @doctype.notation('n3').public)
43 assert_equal(@pubid4, @doctype.notation('n4').public)
44 assert_equal(@pubid5, @doctype.notation('n5').public)
45 assert_equal(@pubid6, @doctype.notation('n6').public)
46 assert_nil(@doctype
[all...]
H A Dtest_notationdecl_parsetest.rb15 @doctype = REXML::Document.new(doc_string).doctype
19 assert(@doctype.notation('n1'), "Testing notation n1")
20 assert(@doctype.notation('n2'), "Testing notation n2")
H A Dtest_comment.rb18 comments = document.doctype.children.find_all do |child|
H A Dtest_doctype.rb20 @doctype1 = REXML::Document.new(document_string1).doctype
27 @doctype2 = REXML::Document.new(document_string2).doctype
33 @doctype3 = REXML::Document.new(document_string3).doctype
H A Dtest_pullparser.rb16 res[ :doctype ] = true if results.doctype?
24 [ :xmldecl, :doctype, :a, :b ].each { |tag|
H A Dlistener.rb25 def doctype name, pub_sys, long_name, uri method in class:Listener
26 #puts "doctype #{name}"
H A Dtest_entity.rb87 dt = d.doctype
152 dt = d.doctype
/macosx-10.9.5/ruby-104/ruby/lib/rexml/
H A Dtext.rb3 require 'rexml/doctype'
5 require 'rexml/doctype'
120 Text.check(@string, illegal, doctype) if @raw
125 Text.check(@string, NEEDS_A_SECOND_CHECK, doctype) if @raw and @parent
129 def Text.check string, pattern, doctype
165 # if !doctype or !doctype.entities.has_key?($3)
200 def doctype method in class:REXML.Text
203 doc.doctype if doc
225 @normalized = Text::normalize( @string, doctype,
[all...]
H A Dattribute.rb115 def doctype method in class:REXML.Attribute
118 doc.doctype if doc
126 @normalized = Text::normalize( @unnormalized, doctype )
135 @unnormalized = Text::unnormalize( @normalized, doctype )
153 Text.check( @normalized, NEEDS_A_SECOND_CHECK, doctype )
H A Dstreamlistener.rb4 # processed; REXML doesn't yet handle doctype entity declarations, so you
34 # Handles a doctype declaration. Any attributes of the doctype which are
36 # @p name the name of the doctype; EG, "me"
39 # @p uri the uri of the doctype, or nil. EG, "bar"
40 def doctype name, pub_sys, long_name, uri method in class:REXML.StreamListener
42 # Called when the doctype is done
45 # If a doctype includes an ATTLIST declaration, it will cause this
76 # Called when %foo; is encountered in a doctype declaration.
H A Dsax2listener.rb4 # processed; REXML doesn't yet handle doctype entity declarations, so you
14 # doctype
39 # Handles a doctype declaration. Any attributes of the doctype which are
41 # @p name the name of the doctype; EG, "me"
44 # @p uri the uri of the doctype, or nil. EG, "bar"
45 def doctype name, pub_sys, long_name, uri method in class:REXML.SAX2Listener
47 # If a doctype includes an ATTLIST declaration, it will cause this
/macosx-10.9.5/WebCore-7537.78.1/accessibility/atk/
H A DWebKitAccessibleInterfaceDocument.cpp62 if (!g_ascii_strcasecmp(attribute, "DocType") && coreDocument->doctype()) {
63 value = coreDocument->doctype()->name();
/macosx-10.9.5/WebCore-7537.78.1/dom/
H A DDocumentType.cpp69 if (!doc->doctype())
78 if (insertionPoint->inDocument() && document() && document()->doctype() == this)
H A DDOMImplementation.idl38 [TreatNullAs=NullString, Default=Undefined] optional DocumentType doctype);
H A DDOMImplementation.cpp285 const String& qualifiedName, DocumentType* doctype, ExceptionCode& ec)
308 // WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different document or was
313 if (doctype && doctype->document()) {
318 if (doctype)
319 doc->appendChild(doctype);
380 d->write("<!doctype html><html><body></body></html>");
284 createDocument(const String& namespaceURI, const String& qualifiedName, DocumentType* doctype, ExceptionCode& ec) argument
/macosx-10.9.5/ruby-104/ruby/lib/rexml/parsers/
H A Dultralightparser.rb30 when :start_element, :doctype
H A Dtreeparser.rb66 doctype = DocType.new( event[1..-1], @build_context )
67 @build_context = doctype
H A Dstreamparser.rb33 @listener.doctype( *event[1..-1] )
/macosx-10.9.5/tcl-102/tcl_ext/tdom/tdom/generic/
H A Dtcldom.c2449 if ( doc->doctype
2450 && doc->doctype->systemId
2451 && doc->doctype->systemId[0] != '\0') {
2452 if ( doc->doctype->publicId
2453 && doc->doctype->publicId[0] != '\0') {
2455 writeChars(htmlString, chan, doc->doctype->publicId, -1);
2457 writeChars(htmlString, chan, doc->doctype->systemId, -1);
2461 writeChars(htmlString, chan, doc->doctype->systemId, -1);
2465 if (doc->doctype && doc->doctype
[all...]
/macosx-10.9.5/ruby-104/ruby/test/cgi/
H A Dtest_cgi_core.rb339 assert_raise(NoMethodError) do cgi.doctype end
344 assert_equal(expected, cgi.doctype)
349 assert_equal(expected, cgi.doctype)
354 assert_equal(expected, cgi.doctype)
359 assert_equal(expected, cgi.doctype)
364 assert_equal(expected, cgi.doctype)
/macosx-10.9.5/tidy-15.12/tidy/src/
H A Dlexer.c113 uint dtver = doc->lexer->doctype;
658 lexer->doctype = VERS_UNKNOWN;
1278 /* find doctype element */
1439 static uint FindGivenVersion( TidyDocImpl* doc, Node* doctype )
1441 AttVal * fpi = TY_(GetAttrByName)(doctype, "PUBLIC");
1466 if ((doc->lexer->doctype == XH11 ||
1467 doc->lexer->doctype == XB10) &&
1468 (doc->lexer->versions & doc->lexer->doctype))
1469 return doc->lexer->doctype;
1490 Node* doctype; local
1520 Node* doctype = NULL; local
1535 Node *doctype = TY_(FindDocType)( doc ); local
1636 Node* doctype = TY_(FindDocType)( doc ); local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/cm/
H A Dxml.js63 return chain(doctype(1));
147 function doctype(depth) {
152 state.tokenize = doctype(depth + 1);
159 state.tokenize = doctype(depth - 1);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DinspectorSyntaxHighlight.css113 .webkit-html-doctype {
114 /* Keep this in sync with view-source.css (.webkit-html-doctype) */
/macosx-10.9.5/ruby-104/ruby/lib/rexml/light/
H A Dnode.rb18 PARENTS = [ :element, :document, :doctype ]
29 node[0] = :doctype
/macosx-10.9.5/vim-53/runtime/plugin/
H A Dtohtml.vim12 " * Tidy up so we can use strict doctype more?

Completed in 199 milliseconds

123