Setting up a catalog file to point an empty file to serve as the DTD of an XML file with a DOCTYPE-declaration can work fine. But are there any drawbacks for the Saxon engine? Would processing the XML be more efficient if a copy of the right DTD was made locally available? Or would that depend on the (complexity/simplicity) of the XLST at hand? (Assuming in the latter situation that the XML is valid against the supplied DTD)
Are there drawbacks to setting up a catalog file to an dummy dtd when transforming XML using XSLT
127 views Asked by Edgar Schouten At
2
There are 2 answers
Related Questions in XML
- Postgres && statement Error in Mybatis Mapper?
- Sorting items after building an XML feed?
- C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found
- How can I create an automatic table of contents in docx without the text being bold?
- Odoo 16 Make Fields Readonly Using XPath
- Using similar tags for different objects in XML
- Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- Android camera application restriction to 12 mp
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- I am not able to remove space below the navigation view icon in android studio. What;s wrong with code?
- Field can be converted to a local variable ,convert field to local variable in onCreate method
- Deserialize XML with optional different name
- Retrieve tags from xml using python
- Getting attribute from xml and printing it error
Related Questions in XSLT
- Sorting items after building an XML feed?
- link href to website css does not work since upgrading to Windows Server 2019
- Chaining templates in XSLT 2.0
- XPath - how to exclude text from child node
- Reuse XSLT for different XML inputs using parameters in nodeJS with saxon-js
- How to iterate XSL and get nodes
- XSLT to tun flat xml structure into hierarchical
- transform '?oxy_comments' into xml tag
- xslt transform hierarchy into new hierarchy
- Convert element tags to key value pair in OIC map
- Converting characters in XML text node to subscript or superscript with XSLT
- Saxon HE 12.4 Fails to provide the error location in ErrorReporter
- how can I use net.sf.saxon.s9api.XsltTransformer in multiple threads to avoid impacting perfromance and throughput?
- Issue with XSL Display since Chrome 123 Update
- 'XML External Entity Injection' issue isn't resolving even after fortify recommended suggestion
Related Questions in SAXON
- Reuse XSLT for different XML inputs using parameters in nodeJS with saxon-js
- Saxon HE 12.4 Fails to provide the error location in ErrorReporter
- how can I use net.sf.saxon.s9api.XsltTransformer in multiple threads to avoid impacting perfromance and throughput?
- How to best escape SQL in Saxon
- Is there a way to disregard a referenced dtd when running an xslt?
- Saxonica exits with 0 even though the parser throws SXXP0003: Error reported by XML parser: An invalid XML character (Unicode: 0xXXX) was found
- Saxon 10 by default considering given input parameter as a string
- Saxon add a random xmlns attribute
- How do I get the line numbers of a saxonc XPath match?
- how to add statement import into xml (schema/xsd) using java
- XPath parser continously looping to find Xpath function library in a given custom xpath expression
- I can select tags from documents as parameter using SAXON XSLT
- SaxonC-PE 12.4.2: trying to follow Saxonica setup instructions, but failing the installation test
- Saxon, XSLT: processing thousands of xml files in a complex tree structure
- SAXON XSLT 3.0 unable to generate an xml:base attribute within generated <rdf:RDF /> output
Related Questions in XMLCATALOG
- Java, xml, catalog file, XSD schema validation and NullPointerException (JAXP09020006: The argument 'systemId' can not be null.)
- Are there drawbacks to setting up a catalog file to an dummy dtd when transforming XML using XSLT
- generate java classes from xsd importing other xsd from jar provided via catalog
- Cannot resolve the name 'X' to a(n) 'type definition' component
- Java catalog resolver for multiple catalog files (as well as catalog.xml) and DTDs (as well as XSDs) and pointer to more info than just the API?
- ANT script : xmlcatalog not reading local dtd
- Can't create a project from an archetype-catalog.xml
- Xmlcatalog in Ant script to read part of XML tags
- How to resolve XML/XSD schemaLocation attribute to read from database with Nokogiri
- Using rewrite with lxml
- accessExternalDTD property ignoring catalog file
- Change ListView layout to cells layout
- cd command : how to go back an unknown number of levels from current subdirectory to a particular parent directory (unix and dos)
- IntelliJ Idea: Schemas and DTDs / configuring XML catalog
- XML Catalog rewriteSystem with Xerces2j doesn't work
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Obviously if the document contains entity references then parsing may fail if these are not present in the DTD. Otherwise, if you're not validating, and don't care about ID attributes, then the DTD serves no useful purpose, and a dummy will work just as well.