diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-16 01:59:39 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-16 02:00:31 +0100 |
commit | bd65bb67e25a79b019d745b7262b2008ce2adb15 (patch) | |
tree | 89e1b032103a63737f1a703e6a943832ef261704 /node_modules/xml2js | |
parent | f91466595b651721690133f58ab37f977539e95b (diff) | |
download | wallet-core-bd65bb67e25a79b019d745b7262b2008ce2adb15.tar.xz |
incrementally verify denoms
The denominations are not stored in a separate object store.
Diffstat (limited to 'node_modules/xml2js')
-rw-r--r-- | node_modules/xml2js/.npmignore | 6 | ||||
-rw-r--r-- | node_modules/xml2js/.travis.yml | 5 | ||||
-rw-r--r-- | node_modules/xml2js/83.coffee | 6 | ||||
-rw-r--r-- | node_modules/xml2js/CONTRIBUTING.md | 19 | ||||
-rw-r--r-- | node_modules/xml2js/README.md | 146 | ||||
-rw-r--r-- | node_modules/xml2js/canon.xml | 482 | ||||
-rw-r--r-- | node_modules/xml2js/incompat.coffee | 5 | ||||
-rw-r--r-- | node_modules/xml2js/incompat2.js | 7 | ||||
-rw-r--r-- | node_modules/xml2js/lib/bom.js | 7 | ||||
-rw-r--r-- | node_modules/xml2js/lib/processors.js | 17 | ||||
-rw-r--r-- | node_modules/xml2js/lib/xml2js.js | 333 | ||||
-rw-r--r-- | node_modules/xml2js/package.json | 80 | ||||
-rw-r--r-- | node_modules/xml2js/text.coffee | 11 | ||||
-rw-r--r-- | node_modules/xml2js/text.xml | 485 | ||||
-rw-r--r-- | node_modules/xml2js/x.js | 24 |
15 files changed, 388 insertions, 1245 deletions
diff --git a/node_modules/xml2js/.npmignore b/node_modules/xml2js/.npmignore deleted file mode 100644 index ef7b9b905..000000000 --- a/node_modules/xml2js/.npmignore +++ /dev/null @@ -1,6 +0,0 @@ -*.swp -.idea -node_modules -src -test -Cakefile
\ No newline at end of file diff --git a/node_modules/xml2js/.travis.yml b/node_modules/xml2js/.travis.yml deleted file mode 100644 index 755a6b73d..000000000 --- a/node_modules/xml2js/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js - -node_js: - - "0.8" - - "0.10" diff --git a/node_modules/xml2js/83.coffee b/node_modules/xml2js/83.coffee deleted file mode 100644 index 3443540fe..000000000 --- a/node_modules/xml2js/83.coffee +++ /dev/null @@ -1,6 +0,0 @@ -xml2js = require 'xml2js' -util = require 'util' - -body = '<sample><chartest desc="Test for CHARs">Character data here!</chartest></sample>' -xml2js.parseString body, (err, result) -> - console.log util.inspect result, false, null diff --git a/node_modules/xml2js/CONTRIBUTING.md b/node_modules/xml2js/CONTRIBUTING.md deleted file mode 100644 index 2209adf57..000000000 --- a/node_modules/xml2js/CONTRIBUTING.md +++ /dev/null @@ -1,19 +0,0 @@ -# How to contribute - -We're always happy about useful new pull requests. Keep in mind that the better -your pull request is, the easier it can be added to `xml2js`. As such please -make sure your patch is ok: - - * `xml2js` is written in CoffeeScript. Please don't send patches to - the JavaScript source, as it get's overwritten by the CoffeeScript - compiler. The reason we have the JS code in the repository is for easier - use with eg. `git submodule` - * Make sure that the unit tests still all pass. Failing unit tests mean that - someone *will* run into a bug, if we accept your pull request. - * Please, add a unit test with your pull request, to show what was broken and - is now fixed or what was impossible and now works due to your new code. - * If you add a new feature, please add some documentation that it exists. - -If you like, you can add yourself in the `package.json` as contributor if you -deem your contribution significant enough. Otherwise, we will decide and maybe -add you. diff --git a/node_modules/xml2js/README.md b/node_modules/xml2js/README.md index 4e01478e9..508b15fd8 100644 --- a/node_modules/xml2js/README.md +++ b/node_modules/xml2js/README.md @@ -21,6 +21,9 @@ Installation Simplest way to install `xml2js` is to use [npm](http://npmjs.org), just `npm install xml2js` which will download xml2js and all dependencies. +xml2js is also available via [Bower](http://bower.io/), just `bower install +xml2js` which will download xml2js and all dependencies. + Usage ===== @@ -81,7 +84,7 @@ fs.readFile(__dirname + '/foo.xml', function(err, data) { Look ma, no event listeners! You can also use `xml2js` from -[CoffeeScript](http://jashkenas.github.com/coffee-script/), further reducing +[CoffeeScript](https://github.com/jashkenas/coffeescript), further reducing the clutter: ```coffeescript @@ -101,27 +104,10 @@ not, we got you covered! Starting with 0.2.8 you can also leave it out, in which case `xml2js` will helpfully add it for you, no bad surprises and inexplicable bugs! -"Traditional" usage -------------------- - -Alternatively you can still use the traditional `addListener` variant that was -supported since forever: - -```javascript -var fs = require('fs'), - xml2js = require('xml2js'); - -var parser = new xml2js.Parser(); -parser.addListener('end', function(result) { - console.dir(result); - console.log('Done.'); -}); -fs.readFile(__dirname + '/foo.xml', function(err, data) { - parser.parseString(data); -}); -``` +Parsing multiple files +---------------------- -If you want to parse multiple files, you have multiple possibilites: +If you want to parse multiple files, you have multiple possibilities: * You can create one `xml2js.Parser` per file. That's the recommended one and is promised to always *just work*. @@ -140,7 +126,7 @@ Displaying results ------------------ You might wonder why, using `console.dir` or `console.log` the output at some -level is only `[Object]`. Don't worry, this is not because xml2js got lazy. +level is only `[Object]`. Don't worry, this is not because `xml2js` got lazy. That's because Node uses `util.inspect` to convert the object into strings and that function stops after `depth=2` which is a bit low for most XML. @@ -171,12 +157,13 @@ var xml = builder.buildObject(obj); At the moment, a one to one bi-directional conversion is guaranteed only for default configuration, except for `attrkey`, `charkey` and `explicitArray` options -you can redefine to your taste. Writing CDATA is not currently supported. +you can redefine to your taste. Writing CDATA is supported via setting the `cdata` +option to `true`. -Processing attribute and tag names ----------------------------------- +Processing attribute, tag names and values +------------------------------------------ -Since 0.4.1 you can optionally provide the parser with attribute and tag name processors: +Since 0.4.1 you can optionally provide the parser with attribute name and tag name processors as well as element value processors (Since 0.4.14, you can also optionally provide the parser with attribute value processors): ```javascript @@ -184,12 +171,20 @@ function nameToUpperCase(name){ return name.toUpperCase(); } -//transform all attribute and tag names to uppercase -parseString(xml, {tagNameProcessors: [nameToUpperCase], attrNameProcessors: [nameToUpperCase]}, function (err, result) { +//transform all attribute and tag names and values to uppercase +parseString(xml, { + tagNameProcessors: [nameToUpperCase], + attrNameProcessors: [nameToUpperCase], + valueProcessors: [nameToUpperCase], + attrValueProcessors: [nameToUpperCase]}, + function (err, result) { + // processed data }); ``` -The `tagNameProcessors` and `attrNameProcessors` options both accept an `Array` of functions with the following signature: +The `tagNameProcessors`, `attrNameProcessors`, `attrValueProcessors` and `valueProcessors` options +accept an `Array` of functions with the following signature: + ```javascript function (name){ //do something with `name` @@ -208,6 +203,12 @@ E.g. 'MyTagName' becomes 'myTagName' - `stripPrefix`: strips the xml namespace prefix. E.g `<foo:Bar/>` will become 'Bar'. (N.B.: the `xmlns` prefix is NOT stripped.) +- `parseNumbers`: parses integer-like strings as integers and float-like strings as floats +E.g. "0" becomes 0 and "15.56" becomes 15.56 + +- `parseBooleans`: parses boolean-like strings to booleans +E.g. "true" becomes true and "False" becomes false + Options ======= @@ -226,8 +227,7 @@ value})``. Possible options are: * `normalize` (default: `false`): Trim whitespaces inside text nodes. * `explicitRoot` (default: `true`): Set this if you want to get the root node in the resulting object. - * `emptyTag` (default: `undefined`): what will the value of empty nodes be. - Default is `{}`. + * `emptyTag` (default: `''`): what will the value of empty nodes be. * `explicitArray` (default: `true`): Always put child nodes in an array if true; otherwise an array is created only if there is more than one. * `ignoreAttrs` (default: `false`): Ignore all XML attributes and only create @@ -246,26 +246,48 @@ value})``. Possible options are: then "children" won't be created. Added in 0.2.5. * `childkey` (default `$$`): Prefix that is used to access child elements if `explicitChildren` is set to `true`. Added in 0.2.5. + * `preserveChildrenOrder` (default `false`): Modifies the behavior of + `explicitChildren` so that the value of the "children" property becomes an + ordered array. When this is `true`, every node will also get a `#name` field + whose value will correspond to the XML nodeName, so that you may iterate + the "children" array and still be able to determine node names. The named + (and potentially unordered) properties are also retained in this + configuration at the same level as the ordered "children" array. Added in + 0.4.9. * `charsAsChildren` (default `false`): Determines whether chars should be considered children if `explicitChildren` is on. Added in 0.2.5. + * `includeWhiteChars` (default `false`): Determines whether whitespace-only + text nodes should be included. Added in 0.4.17. * `async` (default `false`): Should the callbacks be async? This *might* be an incompatible change if your code depends on sync execution of callbacks. - xml2js 0.3 might change this default, so the recommendation is to not - depend on sync execution anyway. Added in 0.2.6. + Future versions of `xml2js` might change this default, so the recommendation + is to not depend on sync execution anyway. Added in 0.2.6. * `strict` (default `true`): Set sax-js to strict or non-strict parsing mode. Defaults to `true` which is *highly* recommended, since parsing HTML which is not well-formed XML might yield just about anything. Added in 0.2.7. - * `attrNameProcessors` (default: `null`): Allows the addition of attribute name processing functions. - Accepts an `Array` of functions with following signature: + * `attrNameProcessors` (default: `null`): Allows the addition of attribute + name processing functions. Accepts an `Array` of functions with following + signature: ```javascript function (name){ //do something with `name` return name } ``` + Added in 0.4.14 + * `attrValueProcessors` (default: `null`): Allows the addition of attribute + value processing functions. Accepts an `Array` of functions with following + signature: + ```javascript + function (name){ + //do something with `name` + return name + } + ``` Added in 0.4.1 - * `tagNameProcessors` (default: `null`):Allows the addition of tag name processing functions. - Accepts an `Array` of functions with following signature: + * `tagNameProcessors` (default: `null`): Allows the addition of tag name + processing functions. Accepts an `Array` of functions with following + signature: ```javascript function (name){ //do something with `name` @@ -273,11 +295,23 @@ value})``. Possible options are: } ``` Added in 0.4.1 + * `valueProcessors` (default: `null`): Allows the addition of element value + processing functions. Accepts an `Array` of functions with following + signature: + ```javascript + function (name){ + //do something with `name` + return name + } + ``` + Added in 0.4.6 Options for the `Builder` class ------------------------------- +These options are specified by ``new Builder({optionName: value})``. +Possible options are: - * `rootName` (default `root`): root element name to be used in case + * `rootName` (default `root` or the root key name): root element name to be used in case `explicitRoot` is `false` or to override the root element name. * `renderOpts` (default `{ 'pretty': true, 'indent': ' ', 'newline': '\n' }`): Rendering options for xmlbuilder-js. @@ -291,6 +325,11 @@ Options for the `Builder` class * `xmldec.standalone` standalone document declaration: true or false * `doctype` (default `null`): optional DTD. Eg. `{'ext': 'hello.dtd'}` * `headless` (default: `false`): omit the XML header. Added in 0.4.3. + * `allowSurrogateChars` (default: `false`): allows using characters from the Unicode + surrogate blocks. + * `cdata` (default: `false`): wrap text nodes in `<![CDATA[ ... ]]>` instead of + escaping when necessary. Does not add `<![CDATA[ ... ]]>` if it is not required. + Added in 0.4.5. `renderOpts`, `xmldec`,`doctype` and `headless` pass through to [xmlbuilder-js](https://github.com/oozcitak/xmlbuilder-js). @@ -309,13 +348,13 @@ var parser = new xml2js.Parser(xml2js.defaults["0.2"]); To get the 0.1 defaults in version 0.2 you can just use `xml2js.defaults["0.1"]` in the same place. This provides you with enough time -to migrate to the saner way of parsing in xml2js 0.2. We try to make the +to migrate to the saner way of parsing in `xml2js` 0.2. We try to make the migration as simple and gentle as possible, but some breakage cannot be avoided. So, what exactly did change and why? In 0.2 we changed some defaults to parse the XML in a more universal and sane way. So we disabled `normalize` and `trim` -so xml2js does not cut out any text content. You can reenable this at will of +so `xml2js` does not cut out any text content. You can reenable this at will of course. A more important change is that we return the root tag in the resulting JavaScript structure via the `explicitRoot` setting, so you need to access the first element. This is useful for anybody who wants to know what the root node @@ -328,16 +367,29 @@ variable amounts of subtags. Running tests, development ========================== -[![Build Status](https://secure.travis-ci.org/Leonidas-from-XIV/node-xml2js.png?branch=master)](https://travis-ci.org/Leonidas-from-XIV/node-xml2js) -[![Dependency Status](https://david-dm.org/Leonidas-from-XIV/node-xml2js.png)](https://david-dm.org/Leonidas-from-XIV/node-xml2js) +[![Build Status](https://travis-ci.org/Leonidas-from-XIV/node-xml2js.svg?branch=master)](https://travis-ci.org/Leonidas-from-XIV/node-xml2js) +[![Coverage Status](https://coveralls.io/repos/Leonidas-from-XIV/node-xml2js/badge.svg?branch=)](https://coveralls.io/r/Leonidas-from-XIV/node-xml2js?branch=master) +[![Dependency Status](https://david-dm.org/Leonidas-from-XIV/node-xml2js.svg)](https://david-dm.org/Leonidas-from-XIV/node-xml2js) The development requirements are handled by npm, you just need to install them. We also have a number of unit tests, they can be run using `npm test` directly from the project root. This runs zap to discover all the tests and execute them. -If you like to contribute, keep in mind that xml2js is written in CoffeeScript, -so don't develop on the JavaScript files that are checked into the repository -for convenience reasons. Also, please write some unit test to check your -behaviour and if it is some user-facing thing, add some documentation to this -README, so people will know it exists. Thanks in advance! +If you like to contribute, keep in mind that `xml2js` is written in +CoffeeScript, so don't develop on the JavaScript files that are checked into +the repository for convenience reasons. Also, please write some unit test to +check your behaviour and if it is some user-facing thing, add some +documentation to this README, so people will know it exists. Thanks in advance! + +Getting support +=============== + +Please, if you have a problem with the library, first make sure you read this +README. If you read this far, thanks, you're good. Then, please make sure your +problem really is with `xml2js`. It is? Okay, then I'll look at it. Send me a +mail and we can talk. Please don't open issues, as I don't think that is the +proper forum for support problems. Some problems might as well really be bugs +in `xml2js`, if so I'll let you know to open an issue instead :) + +But if you know you really found a bug, feel free to open an issue instead. diff --git a/node_modules/xml2js/canon.xml b/node_modules/xml2js/canon.xml deleted file mode 100644 index f24ddd130..000000000 --- a/node_modules/xml2js/canon.xml +++ /dev/null @@ -1,482 +0,0 @@ -<GBSet> -<GBSeq> - <GBSeq_locus>AF485783</GBSeq_locus> - <GBSeq_length>14758</GBSeq_length> - <GBSeq_strandedness>double</GBSeq_strandedness> - <GBSeq_moltype>DNA</GBSeq_moltype> - <GBSeq_topology>circular</GBSeq_topology> - <GBSeq_division>SYN</GBSeq_division> - <GBSeq_update-date>15-MAY-2003</GBSeq_update-date> - <GBSeq_create-date>21-MAR-2002</GBSeq_create-date> - <GBSeq_definition>Binary vector pBI121, complete sequence</GBSeq_definition> - <GBSeq_primary-accession>AF485783</GBSeq_primary-accession> - <GBSeq_accession-version>AF485783.1</GBSeq_accession-version> - <GBSeq_other-seqids> - <GBSeqid>gb|AF485783.1|</GBSeqid> - <GBSeqid>gi|19569229</GBSeqid> - </GBSeq_other-seqids> - <GBSeq_source>Binary vector pBI121</GBSeq_source> - <GBSeq_organism>Binary vector pBI121</GBSeq_organism> - <GBSeq_taxonomy>other sequences; artificial sequences; vectors</GBSeq_taxonomy> - <GBSeq_references> - <GBReference> - <GBReference_reference>1</GBReference_reference> - <GBReference_position>1..14758</GBReference_position> - <GBReference_authors> - <GBAuthor>Chen,P.Y.</GBAuthor> - <GBAuthor>Wang,C.K.</GBAuthor> - <GBAuthor>Soong,S.C.</GBAuthor> - <GBAuthor>To,K.Y.</GBAuthor> - </GBReference_authors> - <GBReference_title>Complete sequence of the binary vector pBI121 and its application in cloning T-DNA insertion from transgenic plants</GBReference_title> - <GBReference_journal>Mol. Breed. 11, 287-293 (2003)</GBReference_journal> - </GBReference> - <GBReference> - <GBReference_reference>2</GBReference_reference> - <GBReference_position>1..14758</GBReference_position> - <GBReference_authors> - <GBAuthor>To,K.Y.</GBAuthor> - </GBReference_authors> - <GBReference_title>Direct Submission</GBReference_title> - <GBReference_journal>Submitted (20-FEB-2002) Institute of BioAgricultural Sciences, Academia Sinica, Taipei 11529, Taiwan</GBReference_journal> - </GBReference> - </GBSeq_references> - <GBSeq_feature-table> - <GBFeature> - <GBFeature_key>source</GBFeature_key> - <GBFeature_location>1..14758</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>1</GBInterval_from> - <GBInterval_to>14758</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>organism</GBQualifier_name> - <GBQualifier_value>Binary vector pBI121</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>mol_type</GBQualifier_name> - <GBQualifier_value>genomic DNA</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>db_xref</GBQualifier_name> - <GBQualifier_value>taxon:189807</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>constructed using pB221 from Clontech Laboratories and Bin19 described in GenBank Accession Number U09365</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(13..796)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>796</GBInterval_from> - <GBInterval_to>13</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to traF in GenBank Accession Number X54459</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>rep_origin</GBFeature_key> - <GBFeature_location>complement(790..1168)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>1168</GBInterval_from> - <GBInterval_to>790</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>ColE1 ori; similar to sequence in GenBank Accession Number V00268</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(1161..2344)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2344</GBInterval_from> - <GBInterval_to>1161</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to tetA in GenBank Accession Number X75761</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(2454..2478)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2478</GBInterval_from> - <GBInterval_to>2454</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>T-DNA right border</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>promoter</GBFeature_key> - <GBFeature_location>2519..2825</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2519</GBInterval_from> - <GBInterval_to>2825</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>NOS</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>gene</GBFeature_key> - <GBFeature_location>2838..3632</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2838</GBInterval_from> - <GBInterval_to>3632</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>nptII</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>CDS</GBFeature_key> - <GBFeature_location>2838..3632</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2838</GBInterval_from> - <GBInterval_to>3632</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>nptII</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>codon_start</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>transl_table</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>product</GBQualifier_name> - <GBQualifier_value>neomycin phosphotransferase II</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>protein_id</GBQualifier_name> - <GBQualifier_value>AAL92039.1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>db_xref</GBQualifier_name> - <GBQualifier_value>GI:19569230</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>translation</GBQualifier_name> - <GBQualifier_value>MIEQDGLHAGSPAAWVERLFGYDWAQQTIGCSDAAVFRLSAQGRPVLFVKTDLSGALNELQDEAARLSWLATTGVPCAAVLDVVTEAGRDWLLLGEVPGQDLLSSHLAPAEKVSIMADAMRRLHTLDPATCPFDHQAKHRIERARTRMEAGLVDQDDLDEEHQGLAPAELFARLKARMPDGDDLVVTHGDACLPNIMVENGRFSGFIDCGRLGVADRYQDIALATRDIAEELGGEWADRFLVLYGIAAPDSQRIAFYRLLDEFF</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>terminator</GBFeature_key> - <GBFeature_location>4022..4277</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>4022</GBInterval_from> - <GBInterval_to>4277</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>NOS</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>promoter</GBFeature_key> - <GBFeature_location>4974..5808</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>4974</GBInterval_from> - <GBInterval_to>5808</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>CaMV 35S</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>gene</GBFeature_key> - <GBFeature_location>5845..7656</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>5845</GBInterval_from> - <GBInterval_to>7656</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>gusA</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>CDS</GBFeature_key> - <GBFeature_location>5845..7656</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>5845</GBInterval_from> - <GBInterval_to>7656</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>gusA</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>GUS</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>codon_start</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>transl_table</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>product</GBQualifier_name> - <GBQualifier_value>beta-glucuronidase</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>protein_id</GBQualifier_name> - <GBQualifier_value>AAL92040.1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>db_xref</GBQualifier_name> - <GBQualifier_value>GI:19569231</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>translation</GBQualifier_name> - <GBQualifier_value>MLRPVETPTREIKKLDGLWAFSLDRENCGIDQRWWESALQESRAIAVPGSFNDQFADADIRNYAGNVWYQREVFIPKGWAGQRIVLRFDAVTHYGKVWVNNQEVMEHQGGYTPFEADVTPYVIAGKSVRITVCVNNELNWQTIPPGMVITDENGKKKQSYFHDFFNYAGIHRSVMLYTTPNTWVDDITVVTHVAQDCNHASVDWQVVANGDVSVELRDADQQVVATGQGTSGTLQVVNPHLWQPGEGYLYELCVTAKSQTECDIYPLRVGIRSVAVKGEQFLINHKPFYFTGFGRHEDADLRGKGFDNVLMVHDHALMDWIGANSYRTSHYPYAEEMLDWADEHGIVVIDETAAVGFNLSLGIGFEAGNKPKELYSEEAVNGETQQAHLQAIKELIARDKNHPSVVMWSIANEPDTRPQGAREYFAPLAEATRKLDPTRPITCVNVMFCDAHTDTISDLFDVLCLNRYYGWYVQSGDLETAEKVLEKELLAWQEKLHQPIIITEYGVDTLAGLHSMYTDMWSEEYQCAWLDMYHRVFDRVSAVVGEQVWNFADFATSQGILRVGGNKKGIFTRDRKPKSAAFLLQKRWTGMNFGEKPQQGGKQ</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>terminator</GBFeature_key> - <GBFeature_location>7727..7979</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>7727</GBInterval_from> - <GBInterval_to>7979</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>NOS</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(8621..8646)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>8646</GBInterval_from> - <GBInterval_to>8621</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>T-DNA left border</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(9156..10198)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>10198</GBInterval_from> - <GBInterval_to>9156</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to tetA in GenBank Accession Number L13842</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(10199..11680)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>11680</GBInterval_from> - <GBInterval_to>10199</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to trfA in GenBank Accession Number X00713</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(11681..12673)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>12673</GBInterval_from> - <GBInterval_to>11681</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to NPTIII gene in GenBank Accession Number V01547</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(12674..13443)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>13443</GBInterval_from> - <GBInterval_to>12674</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to transposable element IS1 in GenBank Accession Number X58999</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(13444..13794)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>13794</GBInterval_from> - <GBInterval_to>13444</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similarity to NPT III gene in GenBank Accession Number V01547</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(13795..14066)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>14066</GBInterval_from> - <GBInterval_to>13795</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to kilA in GenBank Accession Number M62846</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>rep_origin</GBFeature_key> - <GBFeature_location>complement(14141..14758)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>14758</GBInterval_from> - <GBInterval_to>14141</GBInterval_to> - <GBInterval_iscomp value="true"></GBInterval_iscomp> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>ori V; similar to sequence in GenBank Accession Number M20134</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - </GBSeq_feature-table> - <GBSeq_sequence>tgagcgtcgcaaaggcgctcggtcttgccttgctcgtcggtgatgtacttcaccagctccgcgaagtcgctcttcttgatggagcgcatggggacgtgcttggcaatcacgcgcaccccccggccgttttagcggctaaaaaagtcatggctctgccctcgggcggaccacgcccatcatgaccttgccaagctcgtcctgcttctcttcgatcttcgccagcagggcgaggatcgtggcatcaccgaaccgcgccgtgcgcgggtcgtcggtgagccagagtttcagcaggccgcccaggcggcccaggtcgccattgatgcgggccagctcgcggacgtgctcatagtccacgacgcccgtgattttgtagccctggccgacggccagcaggtaggccgacaggctcatgccggccgccgccgccttttcctcaatcgctcttcgttcgtctggaaggcagtacaccttgataggtgggctgcccttcctggttggcttggtttcatcagccatccgcttgccctcatctgttacgccggcggtagccggccagcctcgcagagcaggattcccgttgagcaccgccaggtgcgaataagggacagtgaagaaggaacacccgctcgcgggtgggcctacttcacctatcctgcccggctgacgccgttggatacaccaaggaaagtctacacgaaccctttggcaaaatcctgtatatcgtgcgaaaaaggatggatataccgaaaaaatcgctataatgaccccgaagcagggttatgcagcggaaaagcgccacgcttcccgaagggagaaaggcggacaggtatccggtaagcggcagggtcggaacaggagagcgcacgagggagcttccagggggaaacgcctggtatctttatagtcctgtcgggtttcgccacctctgacttgagcgtcgatttttgtgatgctcgtcaggggggcggagcctatggaaaaacgccagcaacgcggcctttttacggttcctggccttttgctggccttttgctcacatgttctttcctgcgttatcccctgattctgtggataaccgtattaccgcctttgagtgagctgataccgctcgccgcagccgaacgaccgagcgcagcgagtcagtgagcgaggaagcggaagagcgccagaaggccgccagagaggccgagcgcggccgtgaggcttggacgctagggcagggcatgaaaaagcccgtagcgggctgctacgggcgtctgacgcggtggaaagggggaggggatgttgtctacatggctctgctgtagtgagtgggttgcgctccggcagcggtcctgatcaatcgtcaccctttctcggtccttcaacgttcctgacaacgagcctccttttcgccaatccatcgacaatcaccgcgagtccctgctcgaacgctgcgtccggaccggcttcgtcgaaggcgtctatcgcggcccgcaacagcggcgagagcggagcctgttcaacggtgccgccgcgctcgccggcatcgctgtcgccggcctgctcctcaagcacggccccaacagtgaagtagctgattgtcatcagcgcattgacggcgtccccggccgaaaaacccgcctcgcagaggaagcgaagctgcgcgtcggccgtttccatctgcggtgcgcccggtcgcgtgccggcatggatgcgcgcgccatcgcggtaggcgagcagcgcctgcctgaagctgcgggcattcccgatcagaaatgagcgccagtcgtcgtcggctctcggcaccgaatgcgtatgattctccgccagcatggcttcggccagtgcgtcgagcagcgcccgcttgttcctgaagtgccagtaaagcgccggctgctgaacccccaaccgttccgccagtttgcgtgtcgtcagaccgtctacgccgacctcgttcaacaggtccagggcggcacggatcactgtattcggctgcaactttgtcatgcttgacactttatcactgataaacataatatgtccaccaacttatcagtgataaagaatccgcgcgttcaatcggaccagcggaggctggtccggaggccagacgtgaaacccaacatacccctgatcgtaattctgagcactgtcgcgctcgacgctgtcggcatcggcctgattatgccggtgctgccgggcctcctgcgcgatctggttcactcgaacgacgtcaccgcccactatggcattctgctggcgctgtatgcgttggtgcaatttgcctgcgcacctgtgctgggcgcgctgtcggatcgtttcgggcggcggccaatcttgctcgtctcgctggccggcgccagatctggggaaccctgtggttggcatgcacatacaaatggacgaacggataaaccttttcacgcccttttaaatatccgattattctaataaacgctcttttctcttaggtttacccgccaatatatcctgtcaaacactgatagtttaaactgaaggcgggaaacgacaatctgatcatgagcggagaattaagggagtcacgttatgacccccgccgatgacgcgggacaagccgttttacgtttggaactgacagaaccgcaacgttgaaggagccactcagccgcgggtttctggagtttaatgagctaagcacatacgtcagaaaccattattgcgcgttcaaaagtcgcctaaggtcactatcagctagcaaatatttcttgtcaaaaatgctccactgacgttccataaattcccctcggtatccaattagagtctcatattcactctcaatccaaataatctgcaccggatctggatcgtttcgcatgattgaacaagatggattgcacgcaggttctccggccgcttgggtggagaggctattcggctatgactgggcacaacagacaatcggctgctctgatgccgccgtgttccggctgtcagcgcaggggcgcccggttctttttgtcaagaccgacctgtccggtgccctgaatgaactgcaggacgaggcagcgcggctatcgtggctggccacgacgggcgttccttgcgcagctgtgctcgacgttgtcactgaagcgggaagggactggctgctattgggcgaagtgccggggcaggatctcctgtcatctcaccttgctcctgccgagaaagtatccatcatggctgatgcaatgcggcggctgcatacgcttgatccggctacctgcccattcgaccaccaagcgaaacatcgcatcgagcgagcacgtactcggatggaagccggtcttgtcgatcaggatgatctggacgaagagcatcaggggctcgcgccagccgaactgttcgccaggctcaaggcgcgcatgcccgacggcgatgatctcgtcgtgacccatggcgatgcctgcttgccgaatatcatggtggaaaatggccgcttttctggattcatcgactgtggccggctgggtgtggcggaccgctatcaggacatagcgttggctacccgtgatattgctgaagagcttggcggcgaatgggctgaccgcttcctcgtgctttacggtatcgccgctcccgattcgcagcgcatcgccttctatcgccttcttgacgagttcttctgagcgggactctggggttcgaaatgaccgaccaagcgacgcccaacctgccatcacgagatttcgattccaccgccgccttctatgaaaggttgggcttcggaatcgttttccgggacgccggctggatgatcctccagcgcggggatctcatgctggagttcttcgcccacgggatctctgcggaacaggcggtcgaaggtgccgatatcattacgacagcaacggccgacaagcacaacgccacgatcctgagcgacaatatgatcgggcccggcgtccacatcaacggcgtcggcggcgactgcccaggcaagaccgagatgcaccgcgatatcttgctgcgttcggatattttcgtggagttcccgccacagacccggatgatccccgatcgttcaaacatttggcaataaagtttcttaagattgaatcctgttgccggtcttgcgatgattatcatataatttctgttgaattacgttaagcatgtaataattaacatgtaatgcatgacgttatttatgagatgggtttttatgattagagtcccgcaattatacatttaatacgcgatagaaaacaaaatatagcgcgcaaactaggataaattatcgcgcgcggtgtcatctatgttactagatcgggcctcctgtcaatgctggcggcggctctggtggtggttctggtggcggctctgagggtggtggctctgagggtggcggttctgagggtggcggctctgagggaggcggttccggtggtggctctggttccggtgattttgattatgaaaagatggcaaacgctaataagggggctatgaccgaaaatgccgatgaaaacgcgctacagtctgacgctaaaggcaaacttgattctgtcgctactgattacggtgctgctatcgatggtttcattggtgacgtttccggccttgctaatggtaatggtgctactggtgattttgctggctctaattcccaaatggctcaagtcggtgacggtgataattcacctttaatgaataatttccgtcaatatttaccttccctccctcaatcggttgaatgtcgcccttttgtctttggcccaatacgcaaaccgcctctccccgcgcgttggccgattcattaatgcagctggcacgacaggtttcccgactggaaagcgggcagtgagcgcaacgcaattaatgtgagttagctcactcattaggcaccccaggctttacactttatgcttccggctcgtatgttgtgtggaattgtgagcggataacaatttcacacaggaaacagctatgaccatgattacgccaagcttgcatgcctgcaggtccccagattagccttttcaatttcagaaagaatgctaacccacagatggttagagaggcttacgcagcaggtctcatcaagacgatctacccgagcaataatctccaggaaatcaaataccttcccaagaaggttaaagatgcagtcaaaagattcaggactaactgcatcaagaacacagagaaagatatatttctcaagatcagaagtactattccagtatggacgattcaaggcttgcttcacaaaccaaggcaagtaatagagattggagtctctaaaaaggtagttcccactgaatcaaaggccatggagtcaaagattcaaatagaggacctaacagaactcgccgtaaagactggcgaacagttcatacagagtctcttacgactcaatgacaagaagaaaatcttcgtcaacatggtggagcacgacacacttgtctactccaaaaatatcaaagatacagtctcagaagaccaaagggcaattgagacttttcaacaaagggtaatatccggaaacctcctcggattccattgcccagctatctgtcactttattgtgaagatagtggaaaaggaaggtggctcctacaaatgccatcattgcgataaaggaaaggccatcgttgaagatgcctctgccgacagtggtcccaaagatggacccccacccacgaggagcatcgtggaaaaagaagacgttccaaccacgtcttcaaagcaagtggattgatgtgatatctccactgacgtaagggatgacgcacaatcccactatccttcgcaagacccttcctctatataaggaagttcatttcatttggagagaacacgggggactctagaggatccccgggtggtcagtcccttatgttacgtcctgtagaaaccccaacccgtgaaatcaaaaaactcgacggcctgtgggcattcagtctggatcgcgaaaactgtggaattgatcagcgttggtgggaaagcgcgttacaagaaagccgggcaattgctgtgccaggcagttttaacgatcagttcgccgatgcagatattcgtaattatgcgggcaacgtctggtatcagcgcgaagtctttataccgaaaggttgggcaggccagcgtatcgtgctgcgtttcgatgcggtcactcattacggcaaagtgtgggtcaataatcaggaagtgatggagcatcagggcggctatacgccatttgaagccgatgtcacgccgtatgttattgccgggaaaagtgtacgtatcaccgtttgtgtgaacaacgaactgaactggcagactatcccgccgggaatggtgattaccgacgaaaacggcaagaaaaagcagtcttacttccatgatttctttaactatgccggaatccatcgcagcgtaatgctctacaccacgccgaacacctgggtggacgatatcaccgtggtgacgcatgtcgcgcaagactgtaaccacgcgtctgttgactggcaggtggtggccaatggtgatgtcagcgttgaactgcgtgatgcggatcaacaggtggttgcaactggacaaggcactagcgggactttgcaagtggtgaatccgcacctctggcaaccgggtgaaggttatctctatgaactgtgcgtcacagccaaaagccagacagagtgtgatatctacccgcttcgcgtcggcatccggtcagtggcagtgaagggcgaacagttcctgattaaccacaaaccgttctactttactggctttggtcgtcatgaagatgcggacttgcgtggcaaaggattcgataacgtgctgatggtgcacgaccacgcattaatggactggattggggccaactcctaccgtacctcgcattacccttacgctgaagagatgctcgactgggcagatgaacatggcatcgtggtgattgatgaaactgctgctgtcggctttaacctctctttaggcattggtttcgaagcgggcaacaagccgaaagaactgtacagcgaagaggcagtcaacggggaaactcagcaagcgcacttacaggcgattaaagagctgatagcgcgtgacaaaaaccacccaagcgtggtgatgtggagtattgccaacgaaccggatacccgtccgcaaggtgcacgggaatatttcgcgccactggcggaagcaacgcgtaaactcgacccgacgcgtccgatcacctgcgtcaatgtaatgttctgcgacgctcacaccgataccatcagcgatctctttgatgtgctgtgcctgaaccgttattacggatggtatgtccaaagcggcgatttggaaacggcagagaaggtactggaaaaagaacttctggcctggcaggagaaactgcatcagccgattatcatcaccgaatacggcgtggatacgttagccgggctgcactcaatgtacaccgacatgtggagtgaagagtatcagtgtgcatggctggatatgtatcaccgcgtctttgatcgcgtcagcgccgtcgtcggtgaacaggtatggaatttcgccgattttgcgacctcgcaaggcatattgcgcgttggcggtaacaagaaagggatcttcactcgcgaccgcaaaccgaagtcggcggcttttctgctgcaaaaacgctggactggcatgaacttcggtgaaaaaccgcagcagggaggcaaacaatgaatcaacaactctcctggcgcaccatcgtcggctacagcctcgggaattgctaccgagctcgaatttccccgatcgttcaaacatttggcaataaagtttcttaagattgaatcctgttgccggtcttgcgatgattatcatataatttctgttgaattacgttaagcatgtaataattaacatgtaatgcatgacgttatttatgagatgggtttttatgattagagtcccgcaattatacatttaatacgcgatagaaaacaaaatatagcgcgcaaactaggataaattatcgcgcgcggtgtcatctatgttactagatcgggaattcactggccgtcgttttacaacgtcgtgactgggaaaaccctggcgttacccaacttaatcgccttgcagcacatccccctttcgccagctggcgtaatagcgaagaggcccgcaccgatcgcccttcccaacagttgcgcagcctgaatggcgcccgctcctttcgctttcttcccttcctttctcgccacgttcgccggctttccccgtcaagctctaaatcgggggctccctttagggttccgatttagtgctttacggcacctcgaccccaaaaaacttgatttgggtgatggttcacgtagtgggccatcgccctgatagacggtttttcgccctttgacgttggagtccacgttctttaatagtggactcttgttccaaactggaacaacactcaaccctatctcgggctattcttttgatttataagggattttgccgatttcggaaccaccatcaaacaggattttcgcctgctggggcaaaccagcgtggaccgcttgctgcaactctctcagggccaggcggtgaagggcaatcagctgttgcccgtctcactggtgaaaagaaaaaccaccccagtacattaaaaacgtccgcaatgtgttattaagttgtctaagcgtcaatttgtttacaccacaatatatcctgccaccagccagccaacagctccccgaccggcagctcggcacaaaatcaccactcgatacaggcagcccatcagtccgggacggcgtcagcgggagagccgttgtaaggcggcagactttgctcatgttaccgatgctattcggaagaacggcaactaagctgccgggtttgaaacacggatgatctcgcggagggtagcatgttgattgtaacgatgacagagcgttgctgcctgtgatcaaatatcatctccctcgcagagatccgaattatcagccttcttattcatttctcgcttaaccgtgacaggctgtcgatcttgagaactatgccgacataataggaaatcgctggataaagccgctgaggaagctgagtggcgctatttctttagaagtgaacgttgacgatatcaactcccctatccattgctcaccgaatggtacaggtcggggacccgaagttccgactgtcggcctgatgcatccccggctgatcgaccccagatctggggctgagaaagcccagtaaggaaacaactgtaggttcgagtcgcgagatcccccggaaccaaaggaagtaggttaaacccgctccgatcaggccgagccacgccaggccgagaacattggttcctgtaggcatcgggattggcggatcaaacactaaagctactggaacgagcagaagtcctccggccgccagttgccaggcggtaaaggtgagcagaggcacgggaggttgccacttgcgggtcagcacggttccgaacgccatggaaaccgcccccgccaggcccgctgcgacgccgacaggatctagcgctgcgtttggtgtcaacaccaacagcgccacgcccgcagttccgcaaatagcccccaggaccgccatcaatcgtatcgggctacctagcagagcggcagagatgaacacgaccatcagcggctgcacagcgcctaccgtcgccgcgaccccgcccggcaggcggtagaccgaaataaacaacaagctccagaatagcgaaatattaagtgcgccgaggatgaagatgcgcatccaccagattcccgttggaatctgtcggacgatcatcacgagcaataaacccgccggcaacgcccgcagcagcataccggcgacccctcggcctcgctgttcgggctccacgaaaacgccggacagatgcgccttgtgagcgtccttggggccgtcctcctgtttgaagaccgacagcccaatgatctcgccgtcgatgtaggcgccgaatgccacggcatctcgcaaccgttcagcgaacgcctccatgggctttttctcctcgtgctcgtaaacggacccgaacatctctggagctttcttcagggccgacaatcggatctcgcggaaatcctgcacgtcggccgctccaagccgtcgaatctgagccttaatcacaattgtcaattttaatcctctgtttatcggcagttcgtagagcgcgccgtgcgtcccgagcgatactgagcgaagcaagtgcgtcgagcagtgcccgcttgttcctgaaatgccagtaaagcgctggctgctgaacccccagccggaactgaccccacaaggccctagcgtttgcaatgcaccaggtcatcattgacccaggcgtgttccaccaggccgctgcctcgcaactcttcgcaggcttcgccgacctgctcgcgccacttcttcacgcgggtggaatccgatccgcacatgaggcggaaggtttccagcttgagcgggtacggctcccggtgcgagctgaaatagtcgaacatccgtcgggccgtcggcgacagcttgcggtacttctcccatatgaatttcgtgtagtggtcgccagcaaacagcacgacgatttcctcgtcgatcaggacctggcaacgggacgttttcttgccacggtccaggacgcggaagcggtgcagcagcgacaccgattccaggtgcccaacgcggtcggacgtgaagcccatcgccgtcgcctgtaggcgcgacaggcattcctcggccttcgtgtaataccggccattgatcgaccagcccaggtcctggcaaagctcgtagaacgtgaaggtgatcggctcgccgataggggtgcgcttcgcgtactccaacacctgctgccacaccagttcgtcatcgtcggcccgcagctcgacgccggtgtaggtgatcttcacgtccttgttgacgtggaaaatgaccttgttttgcagcgcctcgcgcgggattttcttgttgcgcgtggtgaacagggcagagcgggccgtgtcgtttggcatcgctcgcatcgtgtccggccacggcgcaatatcgaacaaggaaagctgcatttccttgatctgctgcttcgtgtgtttcagcaacgcggcctgcttggcctcgctgacctgttttgccaggtcctcgccggcggtttttcgcttcttggtcgtcatagttcctcgcgtgtcgatggtcatcgacttcgccaaacctgccgcctcctgttcgagacgacgcgaacgctccacggcggccgatggcgcgggcagggcagggggagccagttgcacgctgtcgcgctcgatcttggccgtagcttgctggaccatcgagccgacggactggaaggtttcgcggggcgcacgcatgacggtgcggcttgcgatggtttcggcatcctcggcggaaaaccccgcgtcgatcagttcttgcctgtatgccttccggtcaaacgtccgattcattcaccctccttgcgggattgccccgactcacgccggggcaatgtgcccttattcctgatttgacccgcctggtgccttggtgtccagataatccaccttatcggcaatgaagtcggtcccgtagaccgtctggccgtccttctcgtacttggtattccgaatcttgccctgcacgaataccagcgaccccttgcccaaatacttgccgtgggcctcggcctgagagccaaaacacttgatgcggaagaagtcggtgcgctcctgcttgtcgccggcatcgttgcgccacatctaggtactaaaacaattcatccagtaaaatataatattttattttctcccaatcaggcttgatccccagtaagtcaaaaaatagctcgacatactgttcttccccgatatcctccctgatcgaccggacgcagaaggcaatgtcataccacttgtccgccctgccgcttctcccaagatcaataaagccacttactttgccatctttcacaaagatgttgctgtctcccaggtcgccgtgggaaaagacaagttcctcttcgggcttttccgtctttaaaaaatcatacagctcgcgcggatctttaaatggagtgtcttcttcccagttttcgcaatccacatcggccagatcgttattcagtaagtaatccaattcggctaagcggctgtctaagctattcgtatagggacaatccgatatgtcgatggagtgaaagagcctgatgcactccgcatacagctcgataatcttttcagggctttgttcatcttcatactcttccgagcaaaggacgccatcggcctcactcatgagcagattgctccagccatcatgccgttcaaagtgcaggacctttggaacaggcagctttccttccagccatagcatcatgtccttttcccgttccacatcataggtggtccctttataccggctgtccgtcatttttaaatataggttttcattttctcccaccagcttatataccttagcaggagacattccttccgtatcttttacgcagcggtatttttcgatcagttttttcaattccggtgatattctcattttagccatttattatttccttcctcttttctacagtatttaaagataccccaagaagctaattataacaagacgaactccaattcactgttccttgcattctaaaaccttaaataccagaaaacagctttttcaaagttgttttcaaagttggcgtataacatagtatcgacggagccgattttgaaaccacaattatgggtgatgctgccaacttactgatttagtgtatgatggtgtttttgaggtgctccagtggcttctgtgtctatcagctgtccctcctgttcagctactgacggggtggtgcgtaacggcaaaagcaccgccggacatcagcgctatctctgctctcactgccgtaaaacatggcaactgcagttcacttacaccgcttctcaacccggtacgcaccagaaaatcattgatatggccatgaatggcgttggatgccgggcaacagcccgcattatgggcgttggcctcaacacgattttacgtcacttaaaaaactcaggccgcagtcggtaacctcgcgcatacagccgggcagtgacgtcatcgtctgcgcggaaatggacgaacagtggggctatgtcggggctaaatcgcgccagcgctggctgttttacgcgtatgacagtctccggaagacggttgttgcgcacgtattcggtgaacgcactatggcgacgctggggcgtcttatgagcctgctgtcaccctttgacgtggtgatatggatgacggatggctggccgctgtatgaatcccgcctgaagggaaagctgcacgtaatcagcaagcgatatacgcagcgaattgagcggcataacctgaatctgaggcagcacctggcacggctgggacggaagtcgctgtcgttctcaaaatcggtggagctgcatgacaaagtcatcgggcattatctgaacataaaacactatcaataagttggagtcattacccaattatgatagaatttacaagctataaggttattgtcctgggtttcaagcattagtccatgcaagtttttatgctttgcccattctatagatatattgataagcgcgctgcctatgccttgccccctgaaatccttacatacggcgatatcttctatataaaagatatattatcttatcagtattgtcaatatattcaaggcaatctgcctcctcatcctcttcatcctcttcgtcttggtagctttttaaatatggcgcttcatagagtaattctgtaaaggtccaattctcgttttcatacctcggtataatcttacctatcacctcaaatggttcgctgggtttatcgcacccccgaacacgagcacggcacccgcgaccactatgccaagaatgcccaaggtaaaaattgccggccccgccatgaagtccgtgaatgccccgacggccgaagtgaagggcaggccgccacccaggccgccgccctcactgcccggcacctggtcgctgaatgtcgatgccagcacctgcggcacgtcaatgcttccgggcgtcgcgctcgggctgatcgcccatcccgttactgccccgatcccggcaatggcaaggactgccagcgctgccatttttggggtgaggccgttcgcggccgaggggcgcagcccctggggggatgggaggcccgcgttagcgggccgggagggttcgagaagggggggcaccccccttcggcgtgcgcggtcacgcgcacagggcgcagccctggttaaaaacaaggtttataaatattggtttaaaagcaggttaaaagacaggttagcggtggccgaaaaacgggcggaaacccttgcaaatgctggattttctgcctgtggacagcccctcaaatgtcaataggtgcgcccctcatctgtcagcactctgcccctcaagtgtcaaggatcgcgcccctcatctgtcagtagtcgcgcccctcaagtgtcaataccgcagggcacttatccccaggcttgtccacatcatctgtgggaaactcgcgtaaaatcaggcgttttcgccgatttgcgaggctggccagctccacgtcgccggccgaaatcgagcctgcccctcatctgtcaacgccgcgccgggtgagtcggcccctcaagtgtcaacgtccgcccctcatctgtcagtgagggccaagttttccgcgaggtatccacaacgccggcggccgcggtgtctcgcacacggcttcgacggcgtttctggcgcgtttgcagggccatagacggccgccagcccagcggcgagggcaaccagcccgg</GBSeq_sequence> -</GBSeq> - -</GBSet>
\ No newline at end of file diff --git a/node_modules/xml2js/incompat.coffee b/node_modules/xml2js/incompat.coffee deleted file mode 100644 index 553396567..000000000 --- a/node_modules/xml2js/incompat.coffee +++ /dev/null @@ -1,5 +0,0 @@ -{parseString} = require './lib/xml2js' -xml = '<outline htmlUrl="futurity.org" text="Futurity.org" title="Futurity.org" type="rss" xmlUrl="http://www.futurity.org/feed/"/>' -parseString xml, (err, result) -> - console.dir result - diff --git a/node_modules/xml2js/incompat2.js b/node_modules/xml2js/incompat2.js deleted file mode 100644 index 31cfbc82c..000000000 --- a/node_modules/xml2js/incompat2.js +++ /dev/null @@ -1,7 +0,0 @@ -var xml2js = require('xml2js'); -var parser = new xml2js.Parser({ - mergeAttrs: true -}); -parser.parseString('<outline xmlUrl="http://www.futurity.org/feed/"/>', function (err, result) { - console.dir(result); -}); diff --git a/node_modules/xml2js/lib/bom.js b/node_modules/xml2js/lib/bom.js index d7f226edc..3a784795b 100644 --- a/node_modules/xml2js/lib/bom.js +++ b/node_modules/xml2js/lib/bom.js @@ -1,9 +1,6 @@ -// Generated by CoffeeScript 1.7.1 +// Generated by CoffeeScript 1.10.0 (function() { - var xml2js; - - xml2js = require('../lib/xml2js'); - + "use strict"; exports.stripBOM = function(str) { if (str[0] === '\uFEFF') { return str.substring(1); diff --git a/node_modules/xml2js/lib/processors.js b/node_modules/xml2js/lib/processors.js index aeadaef35..31ccde280 100644 --- a/node_modules/xml2js/lib/processors.js +++ b/node_modules/xml2js/lib/processors.js @@ -1,5 +1,6 @@ -// Generated by CoffeeScript 1.7.1 +// Generated by CoffeeScript 1.10.0 (function() { + "use strict"; var prefixMatch; prefixMatch = new RegExp(/(?!xmlns)^.*:/); @@ -16,4 +17,18 @@ return str.replace(prefixMatch, ''); }; + exports.parseNumbers = function(str) { + if (!isNaN(str)) { + str = str % 1 === 0 ? parseInt(str, 10) : parseFloat(str); + } + return str; + }; + + exports.parseBooleans = function(str) { + if (/^(?:true|false)$/i.test(str)) { + str = str.toLowerCase() === 'true'; + } + return str; + }; + }).call(this); diff --git a/node_modules/xml2js/lib/xml2js.js b/node_modules/xml2js/lib/xml2js.js index 7c1cad319..26e34e76b 100644 --- a/node_modules/xml2js/lib/xml2js.js +++ b/node_modules/xml2js/lib/xml2js.js @@ -1,9 +1,10 @@ -// Generated by CoffeeScript 1.7.1 +// Generated by CoffeeScript 1.10.0 (function() { - var bom, builder, events, isEmpty, processName, processors, sax, - __hasProp = {}.hasOwnProperty, - __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; + "use strict"; + var bom, builder, escapeCDATA, events, isEmpty, processName, processors, requiresCDATA, sax, setImmediate, wrapCDATA, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty, + bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; sax = require('sax'); @@ -15,19 +16,33 @@ processors = require('./processors'); + setImmediate = require('timers').setImmediate; + isEmpty = function(thing) { return typeof thing === "object" && (thing != null) && Object.keys(thing).length === 0; }; processName = function(processors, processedName) { - var process, _i, _len; - for (_i = 0, _len = processors.length; _i < _len; _i++) { - process = processors[_i]; + var i, len, process; + for (i = 0, len = processors.length; i < len; i++) { + process = processors[i]; processedName = process(processedName); } return processedName; }; + requiresCDATA = function(entry) { + return entry.indexOf('&') >= 0 || entry.indexOf('>') >= 0 || entry.indexOf('<') >= 0; + }; + + wrapCDATA = function(entry) { + return "<![CDATA[" + (escapeCDATA(entry)) + "]]>"; + }; + + escapeCDATA = function(entry) { + return entry.replace(']]>', ']]]]><![CDATA[>'); + }; + exports.processors = processors; exports.defaults = { @@ -47,10 +62,14 @@ explicitChildren: false, childkey: '@@', charsAsChildren: false, + includeWhiteChars: false, async: false, strict: true, attrNameProcessors: null, - tagNameProcessors: null + attrValueProcessors: null, + tagNameProcessors: null, + valueProcessors: null, + emptyTag: '' }, "0.2": { explicitCharkey: false, @@ -66,12 +85,16 @@ validator: null, xmlns: false, explicitChildren: false, + preserveChildrenOrder: false, childkey: '$$', charsAsChildren: false, + includeWhiteChars: false, async: false, strict: true, attrNameProcessors: null, + attrValueProcessors: null, tagNameProcessors: null, + valueProcessors: null, rootName: 'root', xmldec: { 'version': '1.0', @@ -84,12 +107,15 @@ 'indent': ' ', 'newline': '\n' }, - headless: false + headless: false, + chunkSize: 10000, + emptyTag: '', + cdata: false } }; - exports.ValidationError = (function(_super) { - __extends(ValidationError, _super); + exports.ValidationError = (function(superClass) { + extend(ValidationError, superClass); function ValidationError(message) { this.message = message; @@ -101,16 +127,16 @@ exports.Builder = (function() { function Builder(opts) { - var key, value, _ref; + var key, ref, value; this.options = {}; - _ref = exports.defaults["0.2"]; - for (key in _ref) { - if (!__hasProp.call(_ref, key)) continue; - value = _ref[key]; + ref = exports.defaults["0.2"]; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; this.options[key] = value; } for (key in opts) { - if (!__hasProp.call(opts, key)) continue; + if (!hasProp.call(opts, key)) continue; value = opts[key]; this.options[key] = value; } @@ -126,44 +152,66 @@ } else { rootName = this.options.rootName; } - render = function(element, obj) { - var attr, child, entry, index, key, value, _ref, _ref1; - if (typeof obj !== 'object') { - element.txt(obj); - } else { - for (key in obj) { - if (!__hasProp.call(obj, key)) continue; - child = obj[key]; - if (key === attrkey) { - if (typeof child === "object") { - for (attr in child) { - value = child[attr]; - element = element.att(attr, value); + render = (function(_this) { + return function(element, obj) { + var attr, child, entry, index, key, value; + if (typeof obj !== 'object') { + if (_this.options.cdata && requiresCDATA(obj)) { + element.raw(wrapCDATA(obj)); + } else { + element.txt(obj); + } + } else { + for (key in obj) { + if (!hasProp.call(obj, key)) continue; + child = obj[key]; + if (key === attrkey) { + if (typeof child === "object") { + for (attr in child) { + value = child[attr]; + element = element.att(attr, value); + } } - } - } else if (key === charkey) { - element = element.txt(child); - } else if (typeof child === 'object' && ((child != null ? child.constructor : void 0) != null) && ((child != null ? (_ref = child.constructor) != null ? _ref.name : void 0 : void 0) != null) && (child != null ? (_ref1 = child.constructor) != null ? _ref1.name : void 0 : void 0) === 'Array') { - for (index in child) { - if (!__hasProp.call(child, index)) continue; - entry = child[index]; - if (typeof entry === 'string') { - element = element.ele(key, entry).up(); + } else if (key === charkey) { + if (_this.options.cdata && requiresCDATA(child)) { + element = element.raw(wrapCDATA(child)); } else { - element = arguments.callee(element.ele(key), entry).up(); + element = element.txt(child); + } + } else if (Array.isArray(child)) { + for (index in child) { + if (!hasProp.call(child, index)) continue; + entry = child[index]; + if (typeof entry === 'string') { + if (_this.options.cdata && requiresCDATA(entry)) { + element = element.ele(key).raw(wrapCDATA(entry)).up(); + } else { + element = element.ele(key, entry).up(); + } + } else { + element = render(element.ele(key), entry).up(); + } + } + } else if (typeof child === "object") { + element = render(element.ele(key), child).up(); + } else { + if (typeof child === 'string' && _this.options.cdata && requiresCDATA(child)) { + element = element.ele(key).raw(wrapCDATA(child)).up(); + } else { + if (child == null) { + child = ''; + } + element = element.ele(key, child.toString()).up(); } } - } else if (typeof child === "object") { - element = arguments.callee(element.ele(key), child).up(); - } else { - element = element.ele(key, child.toString()).up(); } } - } - return element; - }; + return element; + }; + })(this); rootElement = builder.create(rootName, this.options.xmldec, this.options.doctype, { - headless: this.options.headless + headless: this.options.headless, + allowSurrogateChars: this.options.allowSurrogateChars }); return render(rootElement, rootObj).end(this.options.renderOpts); }; @@ -172,26 +220,27 @@ })(); - exports.Parser = (function(_super) { - __extends(Parser, _super); + exports.Parser = (function(superClass) { + extend(Parser, superClass); function Parser(opts) { - this.parseString = __bind(this.parseString, this); - this.reset = __bind(this.reset, this); - this.assignOrPush = __bind(this.assignOrPush, this); - var key, value, _ref; + this.parseString = bind(this.parseString, this); + this.reset = bind(this.reset, this); + this.assignOrPush = bind(this.assignOrPush, this); + this.processAsync = bind(this.processAsync, this); + var key, ref, value; if (!(this instanceof exports.Parser)) { return new exports.Parser(opts); } this.options = {}; - _ref = exports.defaults["0.2"]; - for (key in _ref) { - if (!__hasProp.call(_ref, key)) continue; - value = _ref[key]; + ref = exports.defaults["0.2"]; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; this.options[key] = value; } for (key in opts) { - if (!__hasProp.call(opts, key)) continue; + if (!hasProp.call(opts, key)) continue; value = opts[key]; this.options[key] = value; } @@ -207,6 +256,29 @@ this.reset(); } + Parser.prototype.processAsync = function() { + var chunk, err, error1; + try { + if (this.remaining.length <= this.options.chunkSize) { + chunk = this.remaining; + this.remaining = ''; + this.saxParser = this.saxParser.write(chunk); + return this.saxParser.close(); + } else { + chunk = this.remaining.substr(0, this.options.chunkSize); + this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length); + this.saxParser = this.saxParser.write(chunk); + return setImmediate(this.processAsync); + } + } catch (error1) { + err = error1; + if (!this.saxParser.errThrown) { + this.saxParser.errThrown = true; + return this.emit(err); + } + } + }; + Parser.prototype.assignOrPush = function(obj, key, newValue) { if (!(key in obj)) { if (!this.options.explicitArray) { @@ -240,6 +312,14 @@ } }; })(this); + this.saxParser.onend = (function(_this) { + return function() { + if (!_this.saxParser.ended) { + _this.saxParser.ended = true; + return _this.emit("end", _this.resultObject); + } + }; + })(this); this.saxParser.ended = false; this.EXPLICIT_CHARKEY = this.options.explicitCharkey; this.resultObject = null; @@ -248,17 +328,17 @@ charkey = this.options.charkey; this.saxParser.onopentag = (function(_this) { return function(node) { - var key, newValue, obj, processedKey, _ref; + var key, newValue, obj, processedKey, ref; obj = {}; obj[charkey] = ""; if (!_this.options.ignoreAttrs) { - _ref = node.attributes; - for (key in _ref) { - if (!__hasProp.call(_ref, key)) continue; + ref = node.attributes; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; if (!(attrkey in obj) && !_this.options.mergeAttrs) { obj[attrkey] = {}; } - newValue = node.attributes[key]; + newValue = _this.options.attrValueProcessors ? processName(_this.options.attrValueProcessors, node.attributes[key]) : node.attributes[key]; processedKey = _this.options.attrNameProcessors ? processName(_this.options.attrNameProcessors, key) : key; if (_this.options.mergeAttrs) { _this.assignOrPush(obj, processedKey, newValue); @@ -279,12 +359,16 @@ })(this); this.saxParser.onclosetag = (function(_this) { return function() { - var cdata, emptyStr, err, node, nodeName, obj, old, s, xpath; + var cdata, emptyStr, err, error1, key, node, nodeName, obj, objClone, old, s, xpath; obj = stack.pop(); nodeName = obj["#name"]; - delete obj["#name"]; - cdata = obj.cdata; - delete obj.cdata; + if (!_this.options.explicitChildren || !_this.options.preserveChildrenOrder) { + delete obj["#name"]; + } + if (obj.cdata === true) { + cdata = obj.cdata; + delete obj.cdata; + } s = stack[stack.length - 1]; if (obj[charkey].match(/^\s*$/) && !cdata) { emptyStr = obj[charkey]; @@ -296,44 +380,59 @@ if (_this.options.normalize) { obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); } + obj[charkey] = _this.options.valueProcessors ? processName(_this.options.valueProcessors, obj[charkey]) : obj[charkey]; if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { obj = obj[charkey]; } } if (isEmpty(obj)) { - obj = _this.options.emptyTag !== void 0 ? _this.options.emptyTag : emptyStr; + obj = _this.options.emptyTag !== '' ? _this.options.emptyTag : emptyStr; } if (_this.options.validator != null) { xpath = "/" + ((function() { - var _i, _len, _results; - _results = []; - for (_i = 0, _len = stack.length; _i < _len; _i++) { - node = stack[_i]; - _results.push(node["#name"]); + var i, len, results; + results = []; + for (i = 0, len = stack.length; i < len; i++) { + node = stack[i]; + results.push(node["#name"]); } - return _results; + return results; })()).concat(nodeName).join("/"); try { obj = _this.options.validator(xpath, s && s[nodeName], obj); - } catch (_error) { - err = _error; + } catch (error1) { + err = error1; _this.emit("error", err); } } if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') { - node = {}; - if (_this.options.attrkey in obj) { - node[_this.options.attrkey] = obj[_this.options.attrkey]; - delete obj[_this.options.attrkey]; - } - if (!_this.options.charsAsChildren && _this.options.charkey in obj) { - node[_this.options.charkey] = obj[_this.options.charkey]; - delete obj[_this.options.charkey]; - } - if (Object.getOwnPropertyNames(obj).length > 0) { - node[_this.options.childkey] = obj; + if (!_this.options.preserveChildrenOrder) { + node = {}; + if (_this.options.attrkey in obj) { + node[_this.options.attrkey] = obj[_this.options.attrkey]; + delete obj[_this.options.attrkey]; + } + if (!_this.options.charsAsChildren && _this.options.charkey in obj) { + node[_this.options.charkey] = obj[_this.options.charkey]; + delete obj[_this.options.charkey]; + } + if (Object.getOwnPropertyNames(obj).length > 0) { + node[_this.options.childkey] = obj; + } + obj = node; + } else if (s) { + s[_this.options.childkey] = s[_this.options.childkey] || []; + objClone = {}; + for (key in obj) { + if (!hasProp.call(obj, key)) continue; + objClone[key] = obj[key]; + } + s[_this.options.childkey].push(objClone); + delete obj["#name"]; + if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { + obj = obj[charkey]; + } } - obj = node; } if (stack.length > 0) { return _this.assignOrPush(s, nodeName, obj); @@ -351,10 +450,21 @@ })(this); ontext = (function(_this) { return function(text) { - var s; + var charChild, s; s = stack[stack.length - 1]; if (s) { s[charkey] += text; + if (_this.options.explicitChildren && _this.options.preserveChildrenOrder && _this.options.charsAsChildren && (_this.options.includeWhiteChars || text.replace(/\\n/g, '').trim() !== '')) { + s[_this.options.childkey] = s[_this.options.childkey] || []; + charChild = { + '#name': '__text__' + }; + charChild[charkey] = text; + if (_this.options.normalize) { + charChild[charkey] = charChild[charkey].replace(/\s{2,}/g, " ").trim(); + } + s[_this.options.childkey].push(charChild); + } return s; } }; @@ -372,40 +482,37 @@ }; Parser.prototype.parseString = function(str, cb) { - var err; + var err, error1; if ((cb != null) && typeof cb === "function") { this.on("end", function(result) { this.reset(); - if (this.options.async) { - return process.nextTick(function() { - return cb(null, result); - }); - } else { - return cb(null, result); - } + return cb(null, result); }); this.on("error", function(err) { this.reset(); - if (this.options.async) { - return process.nextTick(function() { - return cb(err); - }); - } else { - return cb(err); - } + return cb(err); }); } - if (str.toString().trim() === '') { - this.emit("end", null); - return true; - } try { - return this.saxParser.write(bom.stripBOM(str.toString())).close(); - } catch (_error) { - err = _error; + str = str.toString(); + if (str.trim() === '') { + this.emit("end", null); + return true; + } + str = bom.stripBOM(str); + if (this.options.async) { + this.remaining = str; + setImmediate(this.processAsync); + return this.saxParser; + } + return this.saxParser.write(str).close(); + } catch (error1) { + err = error1; if (!(this.saxParser.errThrown || this.saxParser.ended)) { this.emit('error', err); return this.saxParser.errThrown = true; + } else if (this.saxParser.ended) { + throw err; } } }; diff --git a/node_modules/xml2js/package.json b/node_modules/xml2js/package.json index f0a14d7cf..06b043370 100644 --- a/node_modules/xml2js/package.json +++ b/node_modules/xml2js/package.json @@ -1,11 +1,14 @@ { - "name" : "xml2js", - "description" : "Simple XML to JavaScript object converter.", - "keywords" : ["xml", "json"], - "homepage" : "https://github.com/Leonidas-from-XIV/node-xml2js", - "version" : "0.4.4", - "author" : "Marek Kubica <marek@xivilization.net> (http://xivilization.net)", - "contributors" : [ + "name": "xml2js", + "description": "Simple XML to JavaScript object converter.", + "keywords": [ + "xml", + "json" + ], + "homepage": "https://github.com/Leonidas-from-XIV/node-xml2js", + "version": "0.4.17", + "author": "Marek Kubica <marek@xivilization.net> (https://xivilization.net)", + "contributors": [ "maqr <maqr.lollerskates@gmail.com> (https://github.com/maqr)", "Ben Weaver (http://benweaver.com/)", "Jae Kwon (https://github.com/jaekwon)", @@ -31,33 +34,52 @@ "Taylor Gautier (https://github.com/tsgautier)", "Todd Bryan (https://github.com/toddrbryan)", "Leore Avidar <leore.avidar@gmail.com> (http://leoreavidar.com/)", - "Dave Aitken <dave.aitken@gmail.com> (http://www.actionshrimp.com/)" + "Dave Aitken <dave.aitken@gmail.com> (http://www.actionshrimp.com/)", + "Shaney Orrowe <shaney.orrowe@practiceweb.co.uk>", + "Candle <candle@candle.me.uk>", + "Jess Telford <hi@jes.st> (http://jes.st)", + "Tom Hughes <<tom@compton.nu> (http://compton.nu/)", + "Piotr Rochala (http://rocha.la/)", + "Michael Avila (https://github.com/michaelavila)", + "Ryan Gahl (https://github.com/ryedin)", + "Eric Laberge <e.laberge@gmail.com> (https://github.com/elaberge)", + "Benjamin E. Coe <ben@npmjs.com> (https://twitter.com/benjamincoe)", + "Stephen Cresswell (https://github.com/cressie176)", + "Pascal Ehlert <pascal@hacksrus.net> (http://www.hacksrus.net/)", + "Tom Spencer <fiznool@gmail.com> (http://fiznool.com/)", + "Tristian Flanagan <tflanagan@datacollaborative.com> (https://github.com/tflanagan)", + "Tim Johns <timjohns@yahoo.com> (https://github.com/TimJohns)", + "Bogdan Chadkin <trysound@yandex.ru> (https://github.com/TrySound)", + "David Wood <david.p.wood@gmail.com> (http://codesleuth.co.uk/)", + "Nicolas Maquet (https://github.com/nmaquet)" + ], + "main": "./lib/xml2js", + "files": [ + "lib" ], - "main" : "./lib/xml2js", - "directories" : { + "directories": { "lib": "./lib" }, - "scripts" : { - "test": "zap" + "scripts": { + "test": "zap", + "coverage": "nyc npm test && nyc report", + "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls" }, - "repository" : { - "type" : "git", - "url" : "https://github.com/Leonidas-from-XIV/node-xml2js.git" + "repository": { + "type": "git", + "url": "https://github.com/Leonidas-from-XIV/node-xml2js.git" }, - "dependencies" : { - "sax" : "0.6.x", - "xmlbuilder" : ">=1.0.0" + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "^4.1.0" }, - "devDependencies" : { - "coffee-script" : ">=1.7.1", - "zap" : ">=0.2.6", - "docco" : ">=0.6.2", - "diff" : ">=1.0.8" + "devDependencies": { + "coffee-script": ">=1.10.0", + "coveralls": "^2.11.2", + "diff": ">=1.0.8", + "docco": ">=0.6.2", + "nyc": ">=2.2.1", + "zap": ">=0.2.9" }, - "licenses": [ - { - "type": "MIT", - "url": "https://raw.github.com/Leonidas-from-XIV/node-xml2js/master/LICENSE" - } - ] + "license": "MIT" } diff --git a/node_modules/xml2js/text.coffee b/node_modules/xml2js/text.coffee deleted file mode 100644 index c5d8c66d9..000000000 --- a/node_modules/xml2js/text.coffee +++ /dev/null @@ -1,11 +0,0 @@ -fs = require 'fs' -xml2js = require 'xml2js' - -parser = new xml2js.Parser - -fs.readFile 'canon.xml', (err, data) -> - console.log err - parser.parseString (err, result) -> - console.log err - console.dir result - diff --git a/node_modules/xml2js/text.xml b/node_modules/xml2js/text.xml deleted file mode 100644 index bd3b482a4..000000000 --- a/node_modules/xml2js/text.xml +++ /dev/null @@ -1,485 +0,0 @@ -<?xml version="1.0"?> - <!DOCTYPE GBSet PUBLIC "-//NCBI//NCBI GBSeq/EN" "http://www.ncbi.nlm.nih.gov/dtd/NCBI_GBSeq.dtd"> - <GBSet> -<GBSeq> - <GBSeq_locus>AF485783</GBSeq_locus> - <GBSeq_length>14758</GBSeq_length> - <GBSeq_strandedness>double</GBSeq_strandedness> - <GBSeq_moltype>DNA</GBSeq_moltype> - <GBSeq_topology>circular</GBSeq_topology> - <GBSeq_division>SYN</GBSeq_division> - <GBSeq_update-date>15-MAY-2003</GBSeq_update-date> - <GBSeq_create-date>21-MAR-2002</GBSeq_create-date> - <GBSeq_definition>Binary vector pBI121, complete sequence</GBSeq_definition> - <GBSeq_primary-accession>AF485783</GBSeq_primary-accession> - <GBSeq_accession-version>AF485783.1</GBSeq_accession-version> - <GBSeq_other-seqids> - <GBSeqid>gb|AF485783.1|</GBSeqid> - <GBSeqid>gi|19569229</GBSeqid> - </GBSeq_other-seqids> - <GBSeq_source>Binary vector pBI121</GBSeq_source> - <GBSeq_organism>Binary vector pBI121</GBSeq_organism> - <GBSeq_taxonomy>other sequences; artificial sequences; vectors</GBSeq_taxonomy> - <GBSeq_references> - <GBReference> - <GBReference_reference>1</GBReference_reference> - <GBReference_position>1..14758</GBReference_position> - <GBReference_authors> - <GBAuthor>Chen,P.Y.</GBAuthor> - <GBAuthor>Wang,C.K.</GBAuthor> - <GBAuthor>Soong,S.C.</GBAuthor> - <GBAuthor>To,K.Y.</GBAuthor> - </GBReference_authors> - <GBReference_title>Complete sequence of the binary vector pBI121 and its application in cloning T-DNA insertion from transgenic plants</GBReference_title> - <GBReference_journal>Mol. Breed. 11, 287-293 (2003)</GBReference_journal> - </GBReference> - <GBReference> - <GBReference_reference>2</GBReference_reference> - <GBReference_position>1..14758</GBReference_position> - <GBReference_authors> - <GBAuthor>To,K.Y.</GBAuthor> - </GBReference_authors> - <GBReference_title>Direct Submission</GBReference_title> - <GBReference_journal>Submitted (20-FEB-2002) Institute of BioAgricultural Sciences, Academia Sinica, Taipei 11529, Taiwan</GBReference_journal> - </GBReference> - </GBSeq_references> - <GBSeq_feature-table> - <GBFeature> - <GBFeature_key>source</GBFeature_key> - <GBFeature_location>1..14758</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>1</GBInterval_from> - <GBInterval_to>14758</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>organism</GBQualifier_name> - <GBQualifier_value>Binary vector pBI121</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>mol_type</GBQualifier_name> - <GBQualifier_value>genomic DNA</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>db_xref</GBQualifier_name> - <GBQualifier_value>taxon:189807</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>constructed using pB221 from Clontech Laboratories and Bin19 described in GenBank Accession Number U09365</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(13..796)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>796</GBInterval_from> - <GBInterval_to>13</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to traF in GenBank Accession Number X54459</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>rep_origin</GBFeature_key> - <GBFeature_location>complement(790..1168)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>1168</GBInterval_from> - <GBInterval_to>790</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>ColE1 ori; similar to sequence in GenBank Accession Number V00268</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(1161..2344)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2344</GBInterval_from> - <GBInterval_to>1161</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to tetA in GenBank Accession Number X75761</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(2454..2478)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2478</GBInterval_from> - <GBInterval_to>2454</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>T-DNA right border</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>promoter</GBFeature_key> - <GBFeature_location>2519..2825</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2519</GBInterval_from> - <GBInterval_to>2825</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>NOS</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>gene</GBFeature_key> - <GBFeature_location>2838..3632</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2838</GBInterval_from> - <GBInterval_to>3632</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>nptII</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>CDS</GBFeature_key> - <GBFeature_location>2838..3632</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>2838</GBInterval_from> - <GBInterval_to>3632</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>nptII</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>codon_start</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>transl_table</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>product</GBQualifier_name> - <GBQualifier_value>neomycin phosphotransferase II</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>protein_id</GBQualifier_name> - <GBQualifier_value>AAL92039.1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>db_xref</GBQualifier_name> - <GBQualifier_value>GI:19569230</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>translation</GBQualifier_name> - <GBQualifier_value>MIEQDGLHAGSPAAWVERLFGYDWAQQTIGCSDAAVFRLSAQGRPVLFVKTDLSGALNELQDEAARLSWLATTGVPCAAVLDVVTEAGRDWLLLGEVPGQDLLSSHLAPAEKVSIMADAMRRLHTLDPATCPFDHQAKHRIERARTRMEAGLVDQDDLDEEHQGLAPAELFARLKARMPDGDDLVVTHGDACLPNIMVENGRFSGFIDCGRLGVADRYQDIALATRDIAEELGGEWADRFLVLYGIAAPDSQRIAFYRLLDEFF</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>terminator</GBFeature_key> - <GBFeature_location>4022..4277</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>4022</GBInterval_from> - <GBInterval_to>4277</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>NOS</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>promoter</GBFeature_key> - <GBFeature_location>4974..5808</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>4974</GBInterval_from> - <GBInterval_to>5808</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>CaMV 35S</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>gene</GBFeature_key> - <GBFeature_location>5845..7656</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>5845</GBInterval_from> - <GBInterval_to>7656</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>gusA</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>CDS</GBFeature_key> - <GBFeature_location>5845..7656</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>5845</GBInterval_from> - <GBInterval_to>7656</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>gene</GBQualifier_name> - <GBQualifier_value>gusA</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>GUS</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>codon_start</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>transl_table</GBQualifier_name> - <GBQualifier_value>1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>product</GBQualifier_name> - <GBQualifier_value>beta-glucuronidase</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>protein_id</GBQualifier_name> - <GBQualifier_value>AAL92040.1</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>db_xref</GBQualifier_name> - <GBQualifier_value>GI:19569231</GBQualifier_value> - </GBQualifier> - <GBQualifier> - <GBQualifier_name>translation</GBQualifier_name> - <GBQualifier_value>MLRPVETPTREIKKLDGLWAFSLDRENCGIDQRWWESALQESRAIAVPGSFNDQFADADIRNYAGNVWYQREVFIPKGWAGQRIVLRFDAVTHYGKVWVNNQEVMEHQGGYTPFEADVTPYVIAGKSVRITVCVNNELNWQTIPPGMVITDENGKKKQSYFHDFFNYAGIHRSVMLYTTPNTWVDDITVVTHVAQDCNHASVDWQVVANGDVSVELRDADQQVVATGQGTSGTLQVVNPHLWQPGEGYLYELCVTAKSQTECDIYPLRVGIRSVAVKGEQFLINHKPFYFTGFGRHEDADLRGKGFDNVLMVHDHALMDWIGANSYRTSHYPYAEEMLDWADEHGIVVIDETAAVGFNLSLGIGFEAGNKPKELYSEEAVNGETQQAHLQAIKELIARDKNHPSVVMWSIANEPDTRPQGAREYFAPLAEATRKLDPTRPITCVNVMFCDAHTDTISDLFDVLCLNRYYGWYVQSGDLETAEKVLEKELLAWQEKLHQPIIITEYGVDTLAGLHSMYTDMWSEEYQCAWLDMYHRVFDRVSAVVGEQVWNFADFATSQGILRVGGNKKGIFTRDRKPKSAAFLLQKRWTGMNFGEKPQQGGKQ</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>terminator</GBFeature_key> - <GBFeature_location>7727..7979</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>7727</GBInterval_from> - <GBInterval_to>7979</GBInterval_to> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>NOS</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(8621..8646)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>8646</GBInterval_from> - <GBInterval_to>8621</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>T-DNA left border</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(9156..10198)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>10198</GBInterval_from> - <GBInterval_to>9156</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to tetA in GenBank Accession Number L13842</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(10199..11680)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>11680</GBInterval_from> - <GBInterval_to>10199</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to trfA in GenBank Accession Number X00713</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(11681..12673)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>12673</GBInterval_from> - <GBInterval_to>11681</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to NPTIII gene in GenBank Accession Number V01547</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(12674..13443)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>13443</GBInterval_from> - <GBInterval_to>12674</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to transposable element IS1 in GenBank Accession Number X58999</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(13444..13794)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>13794</GBInterval_from> - <GBInterval_to>13444</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similarity to NPT III gene in GenBank Accession Number V01547</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>misc_feature</GBFeature_key> - <GBFeature_location>complement(13795..14066)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>14066</GBInterval_from> - <GBInterval_to>13795</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>similar to kilA in GenBank Accession Number M62846</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - <GBFeature> - <GBFeature_key>rep_origin</GBFeature_key> - <GBFeature_location>complement(14141..14758)</GBFeature_location> - <GBFeature_intervals> - <GBInterval> - <GBInterval_from>14758</GBInterval_from> - <GBInterval_to>14141</GBInterval_to> - <GBInterval_iscomp value="true"/> - <GBInterval_accession>AF485783.1</GBInterval_accession> - </GBInterval> - </GBFeature_intervals> - <GBFeature_quals> - <GBQualifier> - <GBQualifier_name>note</GBQualifier_name> - <GBQualifier_value>ori V; similar to sequence in GenBank Accession Number M20134</GBQualifier_value> - </GBQualifier> - </GBFeature_quals> - </GBFeature> - </GBSeq_feature-table> - <GBSeq_sequence>tgagcgtcgcaaaggcgctcggtcttgccttgctcgtcggtgatgtacttcaccagctccgcgaagtcgctcttcttgatggagcgcatggggacgtgcttggcaatcacgcgcaccccccggccgttttagcggctaaaaaagtcatggctctgccctcgggcggaccacgcccatcatgaccttgccaagctcgtcctgcttctcttcgatcttcgccagcagggcgaggatcgtggcatcaccgaaccgcgccgtgcgcgggtcgtcggtgagccagagtttcagcaggccgcccaggcggcccaggtcgccattgatgcgggccagctcgcggacgtgctcatagtccacgacgcccgtgattttgtagccctggccgacggccagcaggtaggccgacaggctcatgccggccgccgccgccttttcctcaatcgctcttcgttcgtctggaaggcagtacaccttgataggtgggctgcccttcctggttggcttggtttcatcagccatccgcttgccctcatctgttacgccggcggtagccggccagcctcgcagagcaggattcccgttgagcaccgccaggtgcgaataagggacagtgaagaaggaacacccgctcgcgggtgggcctacttcacctatcctgcccggctgacgccgttggatacaccaaggaaagtctacacgaaccctttggcaaaatcctgtatatcgtgcgaaaaaggatggatataccgaaaaaatcgctataatgaccccgaagcagggttatgcagcggaaaagcgccacgcttcccgaagggagaaaggcggacaggtatccggtaagcggcagggtcggaacaggagagcgcacgagggagcttccagggggaaacgcctggtatctttatagtcctgtcgggtttcgccacctctgacttgagcgtcgatttttgtgatgctcgtcaggggggcggagcctatggaaaaacgccagcaacgcggcctttttacggttcctggccttttgctggccttttgctcacatgttctttcctgcgttatcccctgattctgtggataaccgtattaccgcctttgagtgagctgataccgctcgccgcagccgaacgaccgagcgcagcgagtcagtgagcgaggaagcggaagagcgccagaaggccgccagagaggccgagcgcggccgtgaggcttggacgctagggcagggcatgaaaaagcccgtagcgggctgctacgggcgtctgacgcggtggaaagggggaggggatgttgtctacatggctctgctgtagtgagtgggttgcgctccggcagcggtcctgatcaatcgtcaccctttctcggtccttcaacgttcctgacaacgagcctccttttcgccaatccatcgacaatcaccgcgagtccctgctcgaacgctgcgtccggaccggcttcgtcgaaggcgtctatcgcggcccgcaacagcggcgagagcggagcctgttcaacggtgccgccgcgctcgccggcatcgctgtcgccggcctgctcctcaagcacggccccaacagtgaagtagctgattgtcatcagcgcattgacggcgtccccggccgaaaaacccgcctcgcagaggaagcgaagctgcgcgtcggccgtttccatctgcggtgcgcccggtcgcgtgccggcatggatgcgcgcgccatcgcggtaggcgagcagcgcctgcctgaagctgcgggcattcccgatcagaaatgagcgccagtcgtcgtcggctctcggcaccgaatgcgtatgattctccgccagcatggcttcggccagtgcgtcgagcagcgcccgcttgttcctgaagtgccagtaaagcgccggctgctgaacccccaaccgttccgccagtttgcgtgtcgtcagaccgtctacgccgacctcgttcaacaggtccagggcggcacggatcactgtattcggctgcaactttgtcatgcttgacactttatcactgataaacataatatgtccaccaacttatcagtgataaagaatccgcgcgttcaatcggaccagcggaggctggtccggaggccagacgtgaaacccaacatacccctgatcgtaattctgagcactgtcgcgctcgacgctgtcggcatcggcctgattatgccggtgctgccgggcctcctgcgcgatctggttcactcgaacgacgtcaccgcccactatggcattctgctggcgctgtatgcgttggtgcaatttgcctgcgcacctgtgctgggcgcgctgtcggatcgtttcgggcggcggccaatcttgctcgtctcgctggccggcgccagatctggggaaccctgtggttggcatgcacatacaaatggacgaacggataaaccttttcacgcccttttaaatatccgattattctaataaacgctcttttctcttaggtttacccgccaatatatcctgtcaaacactgatagtttaaactgaaggcgggaaacgacaatctgatcatgagcggagaattaagggagtcacgttatgacccccgccgatgacgcgggacaagccgttttacgtttggaactgacagaaccgcaacgttgaaggagccactcagccgcgggtttctggagtttaatgagctaagcacatacgtcagaaaccattattgcgcgttcaaaagtcgcctaaggtcactatcagctagcaaatatttcttgtcaaaaatgctccactgacgttccataaattcccctcggtatccaattagagtctcatattcactctcaatccaaataatctgcaccggatctggatcgtttcgcatgattgaacaagatggattgcacgcaggttctccggccgcttgggtggagaggctattcggctatgactgggcacaacagacaatcggctgctctgatgccgccgtgttccggctgtcagcgcaggggcgcccggttctttttgtcaagaccgacctgtccggtgccctgaatgaactgcaggacgaggcagcgcggctatcgtggctggccacgacgggcgttccttgcgcagctgtgctcgacgttgtcactgaagcgggaagggactggctgctattgggcgaagtgccggggcaggatctcctgtcatctcaccttgctcctgccgagaaagtatccatcatggctgatgcaatgcggcggctgcatacgcttgatccggctacctgcccattcgaccaccaagcgaaacatcgcatcgagcgagcacgtactcggatggaagccggtcttgtcgatcaggatgatctggacgaagagcatcaggggctcgcgccagccgaactgttcgccaggctcaaggcgcgcatgcccgacggcgatgatctcgtcgtgacccatggcgatgcctgcttgccgaatatcatggtggaaaatggccgcttttctggattcatcgactgtggccggctgggtgtggcggaccgctatcaggacatagcgttggctacccgtgatattgctgaagagcttggcggcgaatgggctgaccgcttcctcgtgctttacggtatcgccgctcccgattcgcagcgcatcgccttctatcgccttcttgacgagttcttctgagcgggactctggggttcgaaatgaccgaccaagcgacgcccaacctgccatcacgagatttcgattccaccgccgccttctatgaaaggttgggcttcggaatcgttttccgggacgccggctggatgatcctccagcgcggggatctcatgctggagttcttcgcccacgggatctctgcggaacaggcggtcgaaggtgccgatatcattacgacagcaacggccgacaagcacaacgccacgatcctgagcgacaatatgatcgggcccggcgtccacatcaacggcgtcggcggcgactgcccaggcaagaccgagatgcaccgcgatatcttgctgcgttcggatattttcgtggagttcccgccacagacccggatgatccccgatcgttcaaacatttggcaataaagtttcttaagattgaatcctgttgccggtcttgcgatgattatcatataatttctgttgaattacgttaagcatgtaataattaacatgtaatgcatgacgttatttatgagatgggtttttatgattagagtcccgcaattatacatttaatacgcgatagaaaacaaaatatagcgcgcaaactaggataaattatcgcgcgcggtgtcatctatgttactagatcgggcctcctgtcaatgctggcggcggctctggtggtggttctggtggcggctctgagggtggtggctctgagggtggcggttctgagggtggcggctctgagggaggcggttccggtggtggctctggttccggtgattttgattatgaaaagatggcaaacgctaataagggggctatgaccgaaaatgccgatgaaaacgcgctacagtctgacgctaaaggcaaacttgattctgtcgctactgattacggtgctgctatcgatggtttcattggtgacgtttccggccttgctaatggtaatggtgctactggtgattttgctggctctaattcccaaatggctcaagtcggtgacggtgataattcacctttaatgaataatttccgtcaatatttaccttccctccctcaatcggttgaatgtcgcccttttgtctttggcccaatacgcaaaccgcctctccccgcgcgttggccgattcattaatgcagctggcacgacaggtttcccgactggaaagcgggcagtgagcgcaacgcaattaatgtgagttagctcactcattaggcaccccaggctttacactttatgcttccggctcgtatgttgtgtggaattgtgagcggataacaatttcacacaggaaacagctatgaccatgattacgccaagcttgcatgcctgcaggtccccagattagccttttcaatttcagaaagaatgctaacccacagatggttagagaggcttacgcagcaggtctcatcaagacgatctacccgagcaataatctccaggaaatcaaataccttcccaagaaggttaaagatgcagtcaaaagattcaggactaactgcatcaagaacacagagaaagatatatttctcaagatcagaagtactattccagtatggacgattcaaggcttgcttcacaaaccaaggcaagtaatagagattggagtctctaaaaaggtagttcccactgaatcaaaggccatggagtcaaagattcaaatagaggacctaacagaactcgccgtaaagactggcgaacagttcatacagagtctcttacgactcaatgacaagaagaaaatcttcgtcaacatggtggagcacgacacacttgtctactccaaaaatatcaaagatacagtctcagaagaccaaagggcaattgagacttttcaacaaagggtaatatccggaaacctcctcggattccattgcccagctatctgtcactttattgtgaagatagtggaaaaggaaggtggctcctacaaatgccatcattgcgataaaggaaaggccatcgttgaagatgcctctgccgacagtggtcccaaagatggacccccacccacgaggagcatcgtggaaaaagaagacgttccaaccacgtcttcaaagcaagtggattgatgtgatatctccactgacgtaagggatgacgcacaatcccactatccttcgcaagacccttcctctatataaggaagttcatttcatttggagagaacacgggggactctagaggatccccgggtggtcagtcccttatgttacgtcctgtagaaaccccaacccgtgaaatcaaaaaactcgacggcctgtgggcattcagtctggatcgcgaaaactgtggaattgatcagcgttggtgggaaagcgcgttacaagaaagccgggcaattgctgtgccaggcagttttaacgatcagttcgccgatgcagatattcgtaattatgcgggcaacgtctggtatcagcgcgaagtctttataccgaaaggttgggcaggccagcgtatcgtgctgcgtttcgatgcggtcactcattacggcaaagtgtgggtcaataatcaggaagtgatggagcatcagggcggctatacgccatttgaagccgatgtcacgccgtatgttattgccgggaaaagtgtacgtatcaccgtttgtgtgaacaacgaactgaactggcagactatcccgccgggaatggtgattaccgacgaaaacggcaagaaaaagcagtcttacttccatgatttctttaactatgccggaatccatcgcagcgtaatgctctacaccacgccgaacacctgggtggacgatatcaccgtggtgacgcatgtcgcgcaagactgtaaccacgcgtctgttgactggcaggtggtggccaatggtgatgtcagcgttgaactgcgtgatgcggatcaacaggtggttgcaactggacaaggcactagcgggactttgcaagtggtgaatccgcacctctggcaaccgggtgaaggttatctctatgaactgtgcgtcacagccaaaagccagacagagtgtgatatctacccgcttcgcgtcggcatccggtcagtggcagtgaagggcgaacagttcctgattaaccacaaaccgttctactttactggctttggtcgtcatgaagatgcggacttgcgtggcaaaggattcgataacgtgctgatggtgcacgaccacgcattaatggactggattggggccaactcctaccgtacctcgcattacccttacgctgaagagatgctcgactgggcagatgaacatggcatcgtggtgattgatgaaactgctgctgtcggctttaacctctctttaggcattggtttcgaagcgggcaacaagccgaaagaactgtacagcgaagaggcagtcaacggggaaactcagcaagcgcacttacaggcgattaaagagctgatagcgcgtgacaaaaaccacccaagcgtggtgatgtggagtattgccaacgaaccggatacccgtccgcaaggtgcacgggaatatttcgcgccactggcggaagcaacgcgtaaactcgacccgacgcgtccgatcacctgcgtcaatgtaatgttctgcgacgctcacaccgataccatcagcgatctctttgatgtgctgtgcctgaaccgttattacggatggtatgtccaaagcggcgatttggaaacggcagagaaggtactggaaaaagaacttctggcctggcaggagaaactgcatcagccgattatcatcaccgaatacggcgtggatacgttagccgggctgcactcaatgtacaccgacatgtggagtgaagagtatcagtgtgcatggctggatatgtatcaccgcgtctttgatcgcgtcagcgccgtcgtcggtgaacaggtatggaatttcgccgattttgcgacctcgcaaggcatattgcgcgttggcggtaacaagaaagggatcttcactcgcgaccgcaaaccgaagtcggcggcttttctgctgcaaaaacgctggactggcatgaacttcggtgaaaaaccgcagcagggaggcaaacaatgaatcaacaactctcctggcgcaccatcgtcggctacagcctcgggaattgctaccgagctcgaatttccccgatcgttcaaacatttggcaataaagtttcttaagattgaatcctgttgccggtcttgcgatgattatcatataatttctgttgaattacgttaagcatgtaataattaacatgtaatgcatgacgttatttatgagatgggtttttatgattagagtcccgcaattatacatttaatacgcgatagaaaacaaaatatagcgcgcaaactaggataaattatcgcgcgcggtgtcatctatgttactagatcgggaattcactggccgtcgttttacaacgtcgtgactgggaaaaccctggcgttacccaacttaatcgccttgcagcacatccccctttcgccagctggcgtaatagcgaagaggcccgcaccgatcgcccttcccaacagttgcgcagcctgaatggcgcccgctcctttcgctttcttcccttcctttctcgccacgttcgccggctttccccgtcaagctctaaatcgggggctccctttagggttccgatttagtgctttacggcacctcgaccccaaaaaacttgatttgggtgatggttcacgtagtgggccatcgccctgatagacggtttttcgccctttgacgttggagtccacgttctttaatagtggactcttgttccaaactggaacaacactcaaccctatctcgggctattcttttgatttataagggattttgccgatttcggaaccaccatcaaacaggattttcgcctgctggggcaaaccagcgtggaccgcttgctgcaactctctcagggccaggcggtgaagggcaatcagctgttgcccgtctcactggtgaaaagaaaaaccaccccagtacattaaaaacgtccgcaatgtgttattaagttgtctaagcgtcaatttgtttacaccacaatatatcctgccaccagccagccaacagctccccgaccggcagctcggcacaaaatcaccactcgatacaggcagcccatcagtccgggacggcgtcagcgggagagccgttgtaaggcggcagactttgctcatgttaccgatgctattcggaagaacggcaactaagctgccgggtttgaaacacggatgatctcgcggagggtagcatgttgattgtaacgatgacagagcgttgctgcctgtgatcaaatatcatctccctcgcagagatccgaattatcagccttcttattcatttctcgcttaaccgtgacaggctgtcgatcttgagaactatgccgacataataggaaatcgctggataaagccgctgaggaagctgagtggcgctatttctttagaagtgaacgttgacgatatcaactcccctatccattgctcaccgaatggtacaggtcggggacccgaagttccgactgtcggcctgatgcatccccggctgatcgaccccagatctggggctgagaaagcccagtaaggaaacaactgtaggttcgagtcgcgagatcccccggaaccaaaggaagtaggttaaacccgctccgatcaggccgagccacgccaggccgagaacattggttcctgtaggcatcgggattggcggatcaaacactaaagctactggaacgagcagaagtcctccggccgccagttgccaggcggtaaaggtgagcagaggcacgggaggttgccacttgcgggtcagcacggttccgaacgccatggaaaccgcccccgccaggcccgctgcgacgccgacaggatctagcgctgcgtttggtgtcaacaccaacagcgccacgcccgcagttccgcaaatagcccccaggaccgccatcaatcgtatcgggctacctagcagagcggcagagatgaacacgaccatcagcggctgcacagcgcctaccgtcgccgcgaccccgcccggcaggcggtagaccgaaataaacaacaagctccagaatagcgaaatattaagtgcgccgaggatgaagatgcgcatccaccagattcccgttggaatctgtcggacgatcatcacgagcaataaacccgccggcaacgcccgcagcagcataccggcgacccctcggcctcgctgttcgggctccacgaaaacgccggacagatgcgccttgtgagcgtccttggggccgtcctcctgtttgaagaccgacagcccaatgatctcgccgtcgatgtaggcgccgaatgccacggcatctcgcaaccgttcagcgaacgcctccatgggctttttctcctcgtgctcgtaaacggacccgaacatctctggagctttcttcagggccgacaatcggatctcgcggaaatcctgcacgtcggccgctccaagccgtcgaatctgagccttaatcacaattgtcaattttaatcctctgtttatcggcagttcgtagagcgcgccgtgcgtcccgagcgatactgagcgaagcaagtgcgtcgagcagtgcccgcttgttcctgaaatgccagtaaagcgctggctgctgaacccccagccggaactgaccccacaaggccctagcgtttgcaatgcaccaggtcatcattgacccaggcgtgttccaccaggccgctgcctcgcaactcttcgcaggcttcgccgacctgctcgcgccacttcttcacgcgggtggaatccgatccgcacatgaggcggaaggtttccagcttgagcgggtacggctcccggtgcgagctgaaatagtcgaacatccgtcgggccgtcggcgacagcttgcggtacttctcccatatgaatttcgtgtagtggtcgccagcaaacagcacgacgatttcctcgtcgatcaggacctggcaacgggacgttttcttgccacggtccaggacgcggaagcggtgcagcagcgacaccgattccaggtgcccaacgcggtcggacgtgaagcccatcgccgtcgcctgtaggcgcgacaggcattcctcggccttcgtgtaataccggccattgatcgaccagcccaggtcctggcaaagctcgtagaacgtgaaggtgatcggctcgccgataggggtgcgcttcgcgtactccaacacctgctgccacaccagttcgtcatcgtcggcccgcagctcgacgccggtgtaggtgatcttcacgtccttgttgacgtggaaaatgaccttgttttgcagcgcctcgcgcgggattttcttgttgcgcgtggtgaacagggcagagcgggccgtgtcgtttggcatcgctcgcatcgtgtccggccacggcgcaatatcgaacaaggaaagctgcatttccttgatctgctgcttcgtgtgtttcagcaacgcggcctgcttggcctcgctgacctgttttgccaggtcctcgccggcggtttttcgcttcttggtcgtcatagttcctcgcgtgtcgatggtcatcgacttcgccaaacctgccgcctcctgttcgagacgacgcgaacgctccacggcggccgatggcgcgggcagggcagggggagccagttgcacgctgtcgcgctcgatcttggccgtagcttgctggaccatcgagccgacggactggaaggtttcgcggggcgcacgcatgacggtgcggcttgcgatggtttcggcatcctcggcggaaaaccccgcgtcgatcagttcttgcctgtatgccttccggtcaaacgtccgattcattcaccctccttgcgggattgccccgactcacgccggggcaatgtgcccttattcctgatttgacccgcctggtgccttggtgtccagataatccaccttatcggcaatgaagtcggtcccgtagaccgtctggccgtccttctcgtacttggtattccgaatcttgccctgcacgaataccagcgaccccttgcccaaatacttgccgtgggcctcggcctgagagccaaaacacttgatgcggaagaagtcggtgcgctcctgcttgtcgccggcatcgttgcgccacatctaggtactaaaacaattcatccagtaaaatataatattttattttctcccaatcaggcttgatccccagtaagtcaaaaaatagctcgacatactgttcttccccgatatcctccctgatcgaccggacgcagaaggcaatgtcataccacttgtccgccctgccgcttctcccaagatcaataaagccacttactttgccatctttcacaaagatgttgctgtctcccaggtcgccgtgggaaaagacaagttcctcttcgggcttttccgtctttaaaaaatcatacagctcgcgcggatctttaaatggagtgtcttcttcccagttttcgcaatccacatcggccagatcgttattcagtaagtaatccaattcggctaagcggctgtctaagctattcgtatagggacaatccgatatgtcgatggagtgaaagagcctgatgcactccgcatacagctcgataatcttttcagggctttgttcatcttcatactcttccgagcaaaggacgccatcggcctcactcatgagcagattgctccagccatcatgccgttcaaagtgcaggacctttggaacaggcagctttccttccagccatagcatcatgtccttttcccgttccacatcataggtggtccctttataccggctgtccgtcatttttaaatataggttttcattttctcccaccagcttatataccttagcaggagacattccttccgtatcttttacgcagcggtatttttcgatcagttttttcaattccggtgatattctcattttagccatttattatttccttcctcttttctacagtatttaaagataccccaagaagctaattataacaagacgaactccaattcactgttccttgcattctaaaaccttaaataccagaaaacagctttttcaaagttgttttcaaagttggcgtataacatagtatcgacggagccgattttgaaaccacaattatgggtgatgctgccaacttactgatttagtgtatgatggtgtttttgaggtgctccagtggcttctgtgtctatcagctgtccctcctgttcagctactgacggggtggtgcgtaacggcaaaagcaccgccggacatcagcgctatctctgctctcactgccgtaaaacatggcaactgcagttcacttacaccgcttctcaacccggtacgcaccagaaaatcattgatatggccatgaatggcgttggatgccgggcaacagcccgcattatgggcgttggcctcaacacgattttacgtcacttaaaaaactcaggccgcagtcggtaacctcgcgcatacagccgggcagtgacgtcatcgtctgcgcggaaatggacgaacagtggggctatgtcggggctaaatcgcgccagcgctggctgttttacgcgtatgacagtctccggaagacggttgttgcgcacgtattcggtgaacgcactatggcgacgctggggcgtcttatgagcctgctgtcaccctttgacgtggtgatatggatgacggatggctggccgctgtatgaatcccgcctgaagggaaagctgcacgtaatcagcaagcgatatacgcagcgaattgagcggcataacctgaatctgaggcagcacctggcacggctgggacggaagtcgctgtcgttctcaaaatcggtggagctgcatgacaaagtcatcgggcattatctgaacataaaacactatcaataagttggagtcattacccaattatgatagaatttacaagctataaggttattgtcctgggtttcaagcattagtccatgcaagtttttatgctttgcccattctatagatatattgataagcgcgctgcctatgccttgccccctgaaatccttacatacggcgatatcttctatataaaagatatattatcttatcagtattgtcaatatattcaaggcaatctgcctcctcatcctcttcatcctcttcgtcttggtagctttttaaatatggcgcttcatagagtaattctgtaaaggtccaattctcgttttcatacctcggtataatcttacctatcacctcaaatggttcgctgggtttatcgcacccccgaacacgagcacggcacccgcgaccactatgccaagaatgcccaaggtaaaaattgccggccccgccatgaagtccgtgaatgccccgacggccgaagtgaagggcaggccgccacccaggccgccgccctcactgcccggcacctggtcgctgaatgtcgatgccagcacctgcggcacgtcaatgcttccgggcgtcgcgctcgggctgatcgcccatcccgttactgccccgatcccggcaatggcaaggactgccagcgctgccatttttggggtgaggccgttcgcggccgaggggcgcagcccctggggggatgggaggcccgcgttagcgggccgggagggttcgagaagggggggcaccccccttcggcgtgcgcggtcacgcgcacagggcgcagccctggttaaaaacaaggtttataaatattggtttaaaagcaggttaaaagacaggttagcggtggccgaaaaacgggcggaaacccttgcaaatgctggattttctgcctgtggacagcccctcaaatgtcaataggtgcgcccctcatctgtcagcactctgcccctcaagtgtcaaggatcgcgcccctcatctgtcagtagtcgcgcccctcaagtgtcaataccgcagggcacttatccccaggcttgtccacatcatctgtgggaaactcgcgtaaaatcaggcgttttcgccgatttgcgaggctggccagctccacgtcgccggccgaaatcgagcctgcccctcatctgtcaacgccgcgccgggtgagtcggcccctcaagtgtcaacgtccgcccctcatctgtcagtgagggccaagttttccgcgaggtatccacaacgccggcggccgcggtgtctcgcacacggcttcgacggcgtttctggcgcgtttgcagggccatagacggccgccagcccagcggcgagggcaaccagcccgg</GBSeq_sequence> -</GBSeq> - -</GBSet> - diff --git a/node_modules/xml2js/x.js b/node_modules/xml2js/x.js deleted file mode 100644 index b51ce5704..000000000 --- a/node_modules/xml2js/x.js +++ /dev/null @@ -1,24 +0,0 @@ -var util = require('util'); -var xml2js = require('xml2js'); - -var myxml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> \ -<Items> \ - <Item> \ - <id>1</id> \ - <color>green</color> \ - </Item> \ - <Item> \ - <id>2</id> \ - <color>red</color> \ - </Item> \ - <Item> \ - <id>3</id> \ - <color>yellow</color> \ - </Item> \ -</Items>" - -xml2js.parseString(myxml, function (e, r) { - console.log(util.inspect(r, false, null)); - console.log(new xml2js.Builder().buildObject(r)); -}); - |