[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Potential bug in Oracle XML Parser 2.0.7.0.0 (C) xslprocess() xslprocess

  • From: craig.patterson@p...
  • To: xml-dev@l...
  • Date: Wed, 21 Mar 2001 17:50:24 +0800

xmlparse oracle
I am developing on a Solaris platform using  Oracle XML Parser 2.0.7.0.0 (C)

I have found that xslprocess() and xslprocessex() functions fail (core dump)
when processing an XML document with attribute values defaulted by
xmlparse() according to the DTD.

It works fine when the document supplies values for those same attributes.

<?xml version='1.0'?>
<!-- xslprocess() FAILS with this document -->
<!DOCTYPE Strings [
<!ELEMENT Strings (String*)>
<!ELEMENT String  (#PCDATA)>
<!ATTLIST String  length CDATA '10'
                  filler CDATA #IMPLIED>
]>
<Strings>
	<String>Too short</String>
</Strings>

<?xml version='1.0'?>
<!-- xslprocess() WORKS with this document -->
<!DOCTYPE Strings [
<!ELEMENT Strings (String*)>
<!ELEMENT String  (#PCDATA)>
<!ATTLIST String  length CDATA '10'
                  filler CDATA #IMPLIED>
]>
<Strings>
	<String length='20'>Too short</String>
</Strings>

I have a work around using
xmlparse()->getDocumentElement()->printBuffer()->xmlparsebuf() but it is not
ideal.

Has anyone experienced this problem and is there a fix?

Regards,
Craig Patterson
mailto:craig.patterson@p...


************************************************************************************************
This email message and any attached files may contain information that is 
confidential and subject of legal privilege intended only for use by the individual 
or entity to whom they are addressed. If you are not the intended recipient or the 
person responsible for delivering the message to the intended recipient be 
advised that you have received this message in error and that any use, copying, 
circulation, forwarding, printing or publication of this message or attached files is 
strictly forbidden, as is the disclosure of the information contained therein.
If you have received this message in error, please notify the sender immediately 
and delete it from your Inbox.
************************************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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