XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1123)
- Stylus Studio Technical Forum (13807)
-> + Strange output (6)
-> + Built-In Processor Handling CD... (5)
-> + Parameter values with multiple... (3)
-> + Schema review (2)
-> + seperating values within one e... (2)
-> + Filtering 1000's of XML files ... (2)
-> + replace fop0.20 by 094 (2)
-> + HTML tables from sorted XSL (3)
-> + From dicisionshema to XML (4)
-> + Convert data from SQL database... (2)
-> + Really Really need help - xsl:... (2)
-> + xslt: xsl:include not finding ... (2)
-> + One field in multiple lines (3)
-> + Stylis studio editor slow (2)
-> + Schema Documentation (3)
-> + Convert PCL to XML (7)
-> + crashing when connected via VP... (3)
-> + Repeater err:XPST0003 (3)
-> + rtf to XML (4)
-> + Questions Regarding Existing B... (3)
-> + Bug: Saved Changes Lost Switch... (3)
-> + Adding Simple Types to Attribu... (4)
-> + SQL Table to XML Convert error... (9)
-> + please help me with style shee... (2)
-> + WSDL Misbehaving (4)
-> + Regarding XSLT logic for a sim... (2)
-> + Regarding XSLT logic for a sim... (2)
-> + Integration with VB.Net (5)
-> + License for end user (5)
-> + Error when running xalan sampl... (3)
-> + generate the date time in xslt... (2)
-> + Error When Using XMLConverters... (5)
-> + Viewing the toolbox pane (3)
-> + In Sync (2)
-> + Java EE 5 SDK vs. Java 2 SDK S... (2)
-> - Odd behavior of Begin Field in... (1)
-> + I/O-error while saving style s... (2)
-> + WEB Service Session (2)
-> - XML Report - Horizontal Line (1)
-> + XML feed to a txt file (2)
-> + problem with xml output (2)
-> + XSL Debugging (2)
-> + XML schema validation issue (t... (2)
-> + Problem during saving styleshe... (4)
-> + Slow Redraw (11)
-> + Source XML code updates in map... (2)
-> + converting XML to Excel (2)
-> + Pre-Sales Questions? And Mergi... (2)
-> + How can I download an earlier ... (2)
-> + Create multiple string outputs... (2)
-> + Alternate page masters indepen... (3)
-> + Flat to XML and back with Styl... (2)
-> + BUG: Byte Order Mark inserted ... (2)
-> + Schema Validation using the to... (7)
-> + Flat Text file to XML or XSD (6)
-> + Second time it should not go i... (2)
-> + How to sum Nodes which are at ... (2)
-> + Where has the wysiwyg editor g... (2)
-> + SS says my trial has expired -... (2)
-> + XSD input; SQL Table Output Ne... (2)
-> + Building Schema from XML (2)
-> + conditions on tag values expre... (3)
-> + XML converter "omit fields whe... (3)
-> + Marklogic XQuery support in St... (2)
-> + XSL switching stylesheet from ... (10)
-> + Maximum recursion depth exceed... (3)
-> + How do I develop the server si... (2)
-> + XSD Reuse (2)
-> + what happened to my preview re... (3)
-> + How do I use the Custom XML Co... (4)
-> + WYSIWYG missing in release 2 o... (2)
-> + space between elements (3)
-> + Oracle XML Gateway output CONV... (6)
-> + Someone please help me install... (5)
-> + XML Schema (XSD) to COBOL Data... (2)
-> + Can't compile Java (9)
-> + Trouble using the UDDI Browser (5)
-> + JVM Problem when installing Ar... (2)
-> + Stylus Studio Enterprise 8r2 d... (2)
-> - xml report headers (1)
-> + ddtek:sql-delete and ddtek:sql... (4)
-> + Validation blocked (4)
-> + List from XMl to be displayed ... (2)
-> + reports - changing data source (5)
-> + Disable HTML tags in Sense:X (8)
-> + .NETCompiledTransform Paramete... (3)
-> + Why Is The Saxon Processor So ... (13)
-> + Still can not get "integrated ... (15)
-> + quick xml gen from xsd (2)
-> - new to sylus, issue with if va... (1)
-> + Question about using Data Dire... (5)
-> + Why is the DB to XML Data Sour... (2)
-> + Relational db => XML pipeline (2)
-> + connection to oracle 10g (8)
-> + xsl:function misdemeanor (3)
-> + Records Extraction from XML (2)
-> + line break variable destroyed (2)
-> + Restricting on an extended typ... (5)
-> + folding all xml elements at on... (2)
-> + help converting a text file to... (5)
-- Previous [1081-1100] [1101-1120] [1121-1140] Next
+ Website Feedback (243)
+ XSLT Help and Discussion (7447)
+ XQuery Help and Discussion (1861)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (361)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Lee HumphriesSubject: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Lee Humphries
Date: 03 Nov 2002 11:01 PM
I use the attached XSLT to reprocess the html docs that stylus studio produces. It works fine when I use the internal XSLT processor but all of the other XSLT processors report various issues. These all seem to be related to not being able to open the xhtml1-strict.dtd specified by the source document (the HTML documentation file).

To test the XSLT just generate and save some HTML documentation from a schema using the documentation tab. Then run this XSLT over the resultant html file trying the various XSLT processors.

Regards, Lee


DocumentXSDDocumentor.xsl
XSD documentation reprocessor

Postnext
Minollo I.Subject: Re: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Minollo I.
Date: 03 Nov 2002 11:49 PM
I can't reproduce this problem, which makes me guess that the other
processors are hitting the same issue that we fixed a few weeks ago on
Stylus (remember the "authentication required" issue that you helped us
addressing?); probably the other processors are not properly handling the
same situation.

We will try investigating if there is anything we can do; at the very least
we can file this as an issue with owners of the other processors. Are you
experiencing the same issue with XalanJ, Saxon and MSXML .net?

Thanks,
Minollo

Postnext
Minollo I.Subject: Re: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Minollo I.
Date: 03 Nov 2002 11:54 PM
BTW, if you want to customize the way XML Schema documentation works, you
may find useful to directly modify the XSLT responsible for creating
documentation in the first place; you can find it in:
\bin\Plugins\schema-documentation

Once modified, Stylus will use the modified version; so you may want to
keep a copy of the original version.

Minollo

Postnext
Lee HumphriesSubject: Re: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Lee Humphries
Date: 05 Nov 2002 12:25 AM
Hi Minollo,

>BTW, if you want to customize the way XML
>Schema documentation works, you may find
>useful to directly modify the XSLT
>responsible for creating documentation in
>the first place; you can find it in:
>\bin\Plugins\schema-documentation

I've tried this now instead (saves on the reprocessing). Here's a few other queries and comments though:
1. There's no option (from the documentation tab) to specify where the image files are to go. This meant I had to discard using the base_IMG_URL param. It also means I still have to run my script file to move all of the image files from their individual directories to the shared directory I want them in.
2. For me it would be nice if the default title in the documentation/options was the filename (sans extension).
3. I altered the PrintURI template so that it would add a link where the URI finished with an '.xsd'. That way I get links to all of the included/imported schemas.
4. I have one schema that acts as the ultimate 'container' for all the rest. When I run it directly through the x3sp XSL, it's completed in a fraction of a second. When I run it using the documentation tab it takes an incredibly long time (many minutes). It seems that all of the includes and imports are being resolved and images generated for every one, even though next to none of the images will end up in the final documentation. You only seem to need about 4 or 5 layers of includes/imports before the delay gets extremely large, especially if a common type library sits at the very bottom.

Postnext
Ivan PedruzziSubject: RE: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Ivan Pedruzzi
Date: 05 Nov 2002 11:30 PM


Hi Lee

> 4. I have one schema that acts as the ultimate 'container'
> for all the rest. When I run it directly through the x3sp
> XSL, it's completed in a fraction of a second. When I run it
> using the documentation tab it takes an incredibly long time
> (many minutes). It seems that all of the includes and
> imports are being resolved and images generated for every
> one, even though next to none of the images will end up in
> the final documentation. You only seem to need about 4 or 5
> layers of includes/imports before the delay gets extremely
> large, especially if a common type library sits at the very bottom.

These are all good points, we will try to address them for the next
update

Thank You for your feedback

Ivan



>
>
>
> To reply: mailto:stylus-studio-tech.5965@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>
>

Postnext
Lee HumphriesSubject: RE: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Lee Humphries
Date: 06 Nov 2002 11:59 PM
Hi Ivan,

Assuming I'm correct in my statement about all the images being generated for every included/imported/referenced schema. What would be really handy is to have the option to generate documentation for just the schema in question or for all schemas 'contained' by the current schema.

Having the option to generate a superset of the documentation would also really help in providing a source for reprocessing into a data dictionary / glossary.

Lee

Postnext
Lee HumphriesSubject: Re: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Lee Humphries
Date: 04 Nov 2002 10:51 PM
Hi Minollo,

>I can't reproduce this problem, which
>makes me guess that the other processors >are hitting the same issue that we fixed a >few weeks ago on Stylus (remember the
>"authentication required" issue that you
>helped us addressing?); probably the other
>processors are not properly handling the
>same situation.

Yes, it does seem like that situation all over again. Here's one point of difference though. At this stage if I try running the XSLT against MSXML4 from the command-line I do get a different result. The XSLT runs down to the first XPath reference to something in the source document and then finishes processing at that point (like it doesn't understand the namespace prefix properly).

>We will try investigating if there is
>anything we can do; at the very least we
>can file this as an issue with owners of
>the other processors. Are you experiencing
>the same issue with XalanJ, Saxon and
>MSXML.net?

Here's what I get:
Xalan-J
java.lang.RuntimeException: java.net.NoRouteToHostException: No route to host: connect

Saxon
java.lang.RuntimeException: org.xml.sax.SAXParseException: Cannot read from http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd (No route to host: connect)javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Cannot read from javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Cannot read from http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd (No route to host: connect)

MSXML.net
(goes away for a long time, but doesn't do anything).

MSXML3 and MSXML4
External XSLT processing started...
Error occurred while loading document 'c:\WORKCARD\Integration\SCHEMA_REPOSITORY\Workcard\wcWorkSite-v1.0.html'.
Code: 0x80070005
Access is denied.
Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'.
...done


ApplicationSaxonError.txt
Full Error Text from Saxon

DocumentXalan-JError.txt
Full Error Text from Xalan-J

Postnext
Minollo I.Subject: Re: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Minollo I.
Date: 04 Nov 2002 11:45 PM

>...
>Yes, it does seem like that situation all over again. Here's one point of
>difference though. At this stage if I try running the XSLT against MSXML4
>from the command-line I do get a different result. The XSLT runs down to
>the first XPath reference to something in the source document and then
>finishes processing at that point (like it doesn't understand the
>namespace prefix properly).

Are you using the -xe option running MSXML4? That's the only case in which
I can run the stylesheet when the XML source is pointing to an unreachable
DTD. But then it works fine for me, so I don't know what the problem could be.
Also, trying to run the stylesheet you posted with any of the processors
when the DTD is reachable works fine for me.
When the DTD is not reachable, only the internal processor is able to
proceed without errors.

Minollo

Posttop
Lee HumphriesSubject: Re: SS 4.5 103i bug?: Can't access xhtml DTD
Author: Lee Humphries
Date: 05 Nov 2002 12:28 AM
I decided to not bother with this particular line now, as it's a lot easier to just modify the XSL that produces the documentation instead.

I still have some comments and queries about it though (see above).

Regards, Lee

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.