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 (1192)
- Stylus Studio Technical Forum (14621)
-> - Catalog Assistance - (3)
-> ->Catalog Assistance -
-> ->Catalog Assistance -
-> + WYSIWYG does not show (3)
-> + HL7 support in Stylus (2)
-> + Xerces parser missing from Sty... (4)
-> - automatic DTD verification bef... (1)
-> + Try this (2)
-> - 2007 R2 java code generation -... (1)
-> + 2007 R2 Java built-in XSLT (4)
-> + 2007 R2 saxon 8.9 debug proble... (2)
-> + Stylus Studio Schema Validatio... (3)
-> + Bug: losing items when editing... (2)
-> + 2007 R2 Java built-in XSLT (2)
-> + XML->EDI: inconsistent treatme... (13)
-> + 2007 R2 global java classpath (2)
-> + New Web Service Call Failing (6)
-> + Grid view for nested tables (2)
-> - Revisit Old Problem from last ... (1)
-> + Install Question (3)
-> + hex value problem (5)
-> + WSDL Overview Diagram? (2)
-- Previous [1621-1640] [1641-1660] [1661-1680] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Tom TinsleySubject: Catalog Assistance -
Author: Tom Tinsley
Date: 08 May 2007 02:31 PM
I have been using a userdefind catalog with the following entry successfully:

<group>
<public publicId="xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance" uri="www.papiNet.org/V2R30/DeliveryMessageV2R30.xsd"/>
<system systemId="http://www.papiNet.org/V2R30/DeliveryMessageV2R30.xsd" uri="www.papiNet.org/V2R30/DeliveryMessageV2R30.xsd"/>
</group>


However when I tried to add:

<public publicId="xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance" uri="www.papiNet.org/V2R30/GoodsReceiptV2R30.xsd"/>
<system systemId="http://www.papiNet.org/V2R30/GoodsReceiptV2R30.xsd" uri="www.papiNet.org/V2R30/GoodsReceiptV2R30.xsd"/>

I get this error "FATAL ERROR: Cannot open GoodsReceiptV2R30.xsd" What am I doing wrong please.

Stylus Studio 2007 XML Enterprise Suite R2
Windows XP Pro SP2

Postnext
Tony LavinioSubject: Catalog Assistance -
Author: Tony Lavinio
Date: 09 May 2007 09:16 AM
This is not a valid publicId. What is the xmlns:xsi=' doing in there?

<public publicId="xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance" uri="www.papiNet.org/V2R30/DeliveryMessageV2R30.xsd"/>
<system systemId="http://www.papiNet.org/V2R30/DeliveryMessageV2R30.xsd" uri="www.papiNet.org/V2R30/DeliveryMessageV2R30.xsd"/>
</group>

Also, the uri should include the protocol. It is not an absolute
URI without the http:// in front, or a file:///c:/ (Windows) or
file:/// (Unix) or some other protocol handler. I'm surprised it
worked at all.

If you have a local copy, the uri= MUST be an absolute URI, otherwise
the results are unpredictable.


However when I tried to add:

<public publicId="xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance" uri="www.papiNet.org/V2R30/GoodsReceiptV2R30.xsd"/>
<system systemId="http://www.papiNet.org/V2R30/GoodsReceiptV2R30.xsd" uri="www.papiNet.org/V2R30/GoodsReceiptV2R30.xsd"/>

I get this error "FATAL ERROR: Cannot open GoodsReceiptV2R30.xsd" What am I doing wrong please.

And, are you sure that you have a valid copy of the GoodsReceiptV2R30.xsd where you think you are pointing?

Posttop
Tom TinsleySubject: Catalog Assistance -
Author: Tom Tinsley
Date: 09 May 2007 03:20 PM
Well it is easy to see I am a rookie with XML. X12 is so far easier, but I will learn. Thanks for your comment.

Stylus Studio 2007 XML Enterprise Suite R2
Windows XP Pro SP2

   
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-2016 All Rights Reserved.