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
123 Views Asked by Edgar Schouten At
2
There are 2 best solutions below
Related Questions in XML
- Impose component restriction to a series of parsys-CQ
- Wrong xml being inflated android
- Shorten the XSD
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Magento custom block. Can't get block's file
- Layout not shifting up when keyboard is open
- CSV to XML XSLT: How to quote excape
- Getting deeply embedded XML element values
- Saving FileSystemInfo Array to File
- how to apply templates within xsl:for-each
- Spring - configure Jboss Intros for xml with java config?
- Problems with implementing custom actionbar android
- Can Apache Ant be told to cache its XML files?
- Is Log4j2 xml configuration case sensitive?
- How to get a specific node value in XML Pull Parser
Related Questions in XSLT
- Why does a function show up as not defined
- CSV to XML XSLT: How to quote excape
- how to apply templates within xsl:for-each
- Java StreamSource from file in web application project
- How to move an attribute and its value from one element to another
- current index value in xsl
- XSLT list item position issue
- Error including one xslt to another
- xsl:fo how to check new page appears and special ouput
- Limit XSLT Variable to single character
- count the nodes ignoring blank nodes
- Sharepoint 2007 / Jquery - Replace all text on body or render HTML
- XML to XML using XSLT: How to check that element exists in output xml and if not create element with default value
- Visual Studio 2013 XSLT Profile
- Xml to html using xslt of inspect code of VS Projects
Related Questions in SAXON
- Java Saxon Parsing
- Get text between two self-closing elements and number of following/preceding element
- using catalog file with saxon9he
- using saxon9he with catalog.xml file
- Error While JAXB Unmarshalling due to saxon9.jar
- XML Schema 1.1 assertions: How to catch a dynamic type error?
- Replacing the XSLT 2.0 function iri-to-uri with a list of URI's from a parameter passed in via Java
- XSD 1.1 assert implementation-dependant result
- Parse several XML-files with batch
- How can Antennahouse Formatter handle referenced footnotes?
- Error when building Saxon/C for PHP
- Saxonica 9.7 HE in C#
- Saxon-HE 9.7: "no base URI is available" error, when trying to run query string from bash
- docbook saxon toolchain extension jar file -- cannot find same
- Xpath 2.0 functions not working in Java using Saxon
Related Questions in XMLCATALOG
- Change ListView layout to cells layout
- How can I generate an XML catalog from my remote Nexus Maven repository?
- DTD not found error while updating attribute value using Ant XmlTask
- Eclipse XML catalog entry - dot in directory
- Are there drawbacks to setting up a catalog file to an dummy dtd when transforming XML using XSLT
- XML catalog in Eclipse WTP: How do you reference a standalone XML schema
- XML Catalog rewriteSystem with Xerces2j doesn't work
- IntelliJ Idea: Schemas and DTDs / configuring XML catalog
- Editing an xsd with imported schemas from dependencies in Eclipse
- Maven Jaxb Generate Fails When Compiling A Module That Depends On Multiple Modules
- Can an XML catalog refer to files in a separate JAR?
- Is there a light-weight, free XML/XML Schema editor available, with support for XML Schema catalogs and XML Validation?
- XML Catalog is not seeing by project
- Xmllint using XSD+XMLCatalog cannot find uri
- 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?
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)
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?
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.